-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
fix(Dockerfile): use temporary busybox mount to create /kaniko directory #2155
fix(Dockerfile): use temporary busybox mount to create /kaniko directory #2155
Conversation
Signed-off-by: Höhl, Lukas <lukas.hoehl@accso.de>
Signed-off-by: Höhl, Lukas <lukas.hoehl@accso.de>
Signed-off-by: Höhl, Lukas <lukas.hoehl@accso.de>
Signed-off-by: Höhl, Lukas <lukas.hoehl@accso.de>
Signed-off-by: Höhl, Lukas <lukas.hoehl@accso.de>
This reverts commit 8923941.
Signed-off-by: Höhl, Lukas <lukas.hoehl@accso.de>
Signed-off-by: Höhl, Lukas <lukas.hoehl@accso.de>
Signed-off-by: Höhl, Lukas <lukas.hoehl@accso.de>
Signed-off-by: Höhl, Lukas <lukas.hoehl@accso.de>
Signed-off-by: Höhl, Lukas <lukas.hoehl@accso.de>
Signed-off-by: Höhl, Lukas <lukas.hoehl@accso.de>
Signed-off-by: Höhl, Lukas <lukas.hoehl@accso.de>
Signed-off-by: Höhl, Lukas <lukas.hoehl@accso.de>
…mount Signed-off-by: Höhl, Lukas <lukas.hoehl@accso.de>
Signed-off-by: Höhl, Lukas <lukas.hoehl@accso.de>
Signed-off-by: Höhl, Lukas <lukas.hoehl@accso.de>
Somethings seems to be odd when building on s390x platform: https://github.com/GoogleContainerTools/kaniko/runs/7092430574?check_suite_focus=true#step:7:271 |
This came up before: #1749 |
Signed-off-by: Höhl, Lukas <lukas.hoehl@accso.de>
Signed-off-by: Höhl, Lukas <lukas.hoehl@accso.de>
Signed-off-by: Höhl, Lukas <lukas.hoehl@accso.de>
I chose to use busybox with musl libc because the binaries are staticly compiled for all platforms. This removes the need to import /lib on certain architectures which is hard to maintain. |
Needs #2154 to be merged for successful builds. |
Fixes breaking builds introduced in #2009 and issue #1363
Description
Using a locally generated tarball introduced errors on builds, that are not run using the make target images.
This PR uses buildkits mount feature to temporary mount busybox in order to create the /kaniko directory with rwx permissions.
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:
See the contribution guide for more details.
Reviewer Notes