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

Provide debug images for arm64 #1488

Closed
ghost opened this issue Nov 10, 2020 · 3 comments
Closed

Provide debug images for arm64 #1488

ghost opened this issue Nov 10, 2020 · 3 comments

Comments

@ghost
Copy link

ghost commented Nov 10, 2020

Currently you are providing debug images for amd64 and non-debug images for arm64 and other architectures. The arm64 images are not suitable for Gitlab pipelines utilizing the gitlab-runner as the Gitlab Documentation states:

The kaniko debug image is recommended (gcr.io/kaniko-project/executor:debug) because it has a shell, and a shell is required for an image to be used with GitLab CI/CD.

My workaround is creating a suitable image myself based on the official executor:arm64 image by adding the busybox binaries and updating the PATH:

FROM gcr.io/kaniko-project/executor:arm64-v1.3.0

COPY --from=arm64v8/busybox:1.32.0 /bin /busybox
# Declare /busybox as a volume to get it automatically in the path to ignore
VOLUME /busybox
ENV PATH /usr/local/bin:/kaniko:/busybox

Acceptance Criteria:

  • Provide the debug image also for other architectures than amd64
@morganchristiansson
Copy link

I just tried it and both 1.6.0 and 1.5.2 debug images run on arm64

@sharon-codefresh
Copy link

@effitient Looks like v1.6.0 supports arm64 out-of-box, can we mark this item as closed?

@ghost
Copy link
Author

ghost commented Aug 31, 2021

@sharon-codefresh Can be closed, yes.

@ghost ghost closed this as completed Aug 31, 2021
This issue was closed.
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

No branches or pull requests

2 participants