Bust the dockerfile build cache across repository lines.
This commit is contained in:
parent
d95c321e28
commit
0a9ee6c49f
2 changed files with 25 additions and 1 deletions
|
@ -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])
|
||||
|
|
Reference in a new issue