Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Save each stage in multistage dockerfiles as a tarball #244

Merged
merged 7 commits into from
Jul 19, 2018

Conversation

priyawadhwa
Copy link
Collaborator

In #233, the bug was that a multi-stage dockerfile was building an image and then using it as the base in a later stage.

To fix this, at the end of every intermediate stage we can take a snapshot and save the stage as a tarball. If we need it for a later stage, we can grab it from the tarball.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/multi-stage builds issues related to kaniko multi-stage builds
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants