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
Creating a custom kaniko image using the following multi-stage Dockerfile fails:
FROM gcr.io/kaniko-project/executor:latest as kaniko
FROM alpine:latest as alpine
COPY --from=kaniko /kaniko/.config /kaniko/.config
COPY --from=kaniko /kaniko/.docker /kaniko/.docker
COPY --from=kaniko /kaniko/executor /kaniko/executor
COPY --from=kaniko /kaniko/ssl /kaniko/ssl
COPY --from=kaniko /kaniko/warmer /kaniko/warmer
Error message: Unpacking rootfs as cmd COPY --from=kaniko /kaniko/.config /kaniko/.config requires it.
error building image: error building stage: failed to get files used from context: failed to get fileinfo for /kaniko/0/kaniko/.config: lstat /kaniko/0/kaniko/.config: no such file or directory
Expected behavior
it should not fail
To Reproduce
Start a kaniko build with the above Dockerfile.
Actual behavior
Creating a custom kaniko image using the following multi-stage Dockerfile fails:
Error message: Unpacking rootfs as cmd COPY --from=kaniko /kaniko/.config /kaniko/.config requires it.
error building image: error building stage: failed to get files used from context: failed to get fileinfo for /kaniko/0/kaniko/.config: lstat /kaniko/0/kaniko/.config: no such file or directory
Expected behavior
it should not fail
To Reproduce
Start a kaniko build with the above Dockerfile.
Additional Information
--cache
flagThe text was updated successfully, but these errors were encountered: