You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Actual behavior
If there is a
MAINTAINER
command in a dockerfile, and --single-snapshot is passed, no snapshot of the stage withMAINTAINER
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
Diagnosis:
stageBuilder.cmds
MAINTAINER
to be skipped bystageBuilder.cmds
but notstageBuilder.stage.Commands
,isLastCommand
is never true.Triage Notes for the Maintainers
--cache
flagThe text was updated successfully, but these errors were encountered: