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

--single-snapshot fails if there is a MAINTAINER command in the dockerfile #1150

Closed
tomprince opened this issue Mar 21, 2020 · 0 comments · Fixed by #1192
Closed

--single-snapshot fails if there is a MAINTAINER command in the dockerfile #1150

tomprince opened this issue Mar 21, 2020 · 0 comments · Fixed by #1192

Comments

@tomprince
Copy link
Contributor

Actual behavior
If there is a MAINTAINER command in a dockerfile, and --single-snapshot is passed, no snapshot of the stage with MAINTAINER is taken (and the final image from that stage is identical to the from image)

Expected behavior
A snapshot it taken after all the commands run.

Additional Information

  • Dockerfile
FROM scratch
MAINTAINER nobody@domain.test
ENV VAR=VAL
  • Kaniko Image (fully qualified with digest): gcr.io/kaniko-project/executor:v0.19.0@sha256:66be3f60f22b571faa82e0aaeb94731217ba0c58ac4a3b062bc84c6d8d545213

Diagnosis:

Triage Notes for the Maintainers

Description Yes/No
Please check if this a new feature you are proposing
Please check if the build works in docker but not in kaniko
Please check if this error is seen when you use --cache flag
Please check if your dockerfile is a multistage dockerfile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant