Example #1
0
 def pull(self):
     """
     pull base image
     """
     logger.info("pulling base image: %s", self.build.base_image)
     podman_command_exists()
     pull_buildah_image(self.build.base_image)
Example #2
0
 def __init__(self, build, debug=False):
     """
     :param build: instance of Build
     :param debug: bool, run buildah in debug or not?
     """
     super().__init__(build, debug=debug)
     self.target_image = build.target_image
     self.ansible_host = build.build_container
     self.logs = []
     buildah_command_exists()
     podman_command_exists()