Lines Matching full:docker

3 # Build the required docker image to run package unit tests
6 # DOCKER_IMG_NAME: <optional, the name of the docker image to generate>
8 # DISTRO: <optional, the distro to build a docker image against>
9 # FORCE_DOCKER_BUILD: <optional, a non-zero value with force all Docker
20 # DOCKER_REG: <optional, the URL of a docker registry to utilize
22 # (ex. docker.io)
41 # System may have docker or it may have podman, try docker first
42 from sh import docker
44 container = docker
51 print("No docker or podman found on system")
94 # __tag [private]: Generated Docker tag name for package stage.
353 """Class used to build the Docker stages for each package.
377 """Thread 'run' function. Builds the Docker stage."""
408 tag = Docker.tagname(self._stagename(), dockerfile)
414 Docker.build(self.package, tag, dockerfile)
420 """Ensure a Docker stage is created for all defined packages.
557 """Create a name for the Docker stage associated with this pkg."""
607 packages into a Docker stage.
616 # Workaround for upstream docker bug and multiple COPY cmds
624 install a package into a Docker stage.
700 class Docker: class
701 """Class to assist with Docker interactions. All methods are static."""
716 result += ":" + Docker.timestamp()
723 """Build a docker image using the Dockerfile and tagging it with 'tag'."""
736 # Capture the output of the 'docker build' command and send it to
739 # docker tag to stdout and we want to keep that pristine.
742 # --no-cache: Bypass the Docker cache if 'force_build'.
743 # --force-rm: Clean up Docker processes if they fail.
778 # Ensure appropriate docker build output to see progress and identify
992 # Run an arbitrary command to pollute the docker cache regularly force us
994 RUN echo {Docker.timestamp()}
1021 # Build the base and stage docker images.
1022 docker_base_img_name = Docker.tagname("base", dockerfile_base)
1023 Docker.build("base", docker_base_img_name, dockerfile_base)
1033 # even though it is no longer needed to rebuild the docker environment
1065 # Do the final docker build
1066 docker_final_img_name = Docker.tagname(None, dockerfile)
1067 Docker.build("final", docker_final_img_name, dockerfile)