Lines Matching full:dockerfile
85 """Returns a tuple containing the contents of the project.yaml and Dockerfile
86 of |project_name|. Raises a FileNotFoundError if there is no Dockerfile for
89 dockerfile_path = os.path.join(project_dir, 'Dockerfile')
91 with open(dockerfile_path) as dockerfile:
92 dockerfile = dockerfile.read()
94 logging.error('Project "%s" does not have a dockerfile.', project_name)
99 return project_yaml_contents, dockerfile
105 def __init__(self, name, project_yaml_contents, dockerfile, image_project): argument
109 self.workdir = workdir_from_dockerfile(dockerfile)
165 def workdir_from_dockerfile(dockerfile): argument
166 """Parses WORKDIR from the Dockerfile."""
167 dockerfile_lines = dockerfile.split('\n')
218 # Dockerfile). Container Builder overrides our workdir so we need
247 project_name, project_yaml_contents, dockerfile, image_project, argument
251 project = Project(project_name, project_yaml_contents, dockerfile,