Bust the dockerfile build cache across repository lines.

This commit is contained in:
jakedt 2014-04-16 15:45:41 -04:00
parent d95c321e28
commit 0a9ee6c49f
2 changed files with 25 additions and 1 deletions

View file

@ -79,3 +79,8 @@ def parse_dockerfile(contents):
})
return ParsedDockerfile(commands)
def serialize_dockerfile(parsed_dockerfile):
return '\n'.join([' '.join([command['command'], command['parameters']])
for command in parsed_dockerfile.commands])