-
Notifications
You must be signed in to change notification settings - Fork 159
Don't overwrite libc in distroless debian base image #1883
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
Don't overwrite libc in distroless debian base image #1883
Conversation
/assign @saikat-royc |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: pwschuurman, saikat-royc The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/lgtm |
/cherrypick release-1.15 |
@pwschuurman: new pull request created: #1884 In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
/cherrypick release-1.14 |
@pwschuurman: new pull request created: #1885 In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
/cherrypick release-1.14-experimental |
@pwschuurman: new pull request created: #1907 In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
What type of PR is this?
What this PR does / why we need it:
In our Dockerfile, we copy over some libraries from
gke.gcr.io/debian-base:bookworm-
to agcr.io/distroless/base-debian12
base. Currently this overwriteslibc.so.6
, which already exists ingcr.io/distroless/base-debian12
. This can lead to ABI incompatibilities betweenld-linux
(which is in base-debian) and the overwritten libc library. At the moment the ARM64 Docker image is broken when running applications that depend onlibc
. The following error can be seen:Which issue(s) this PR fixes:
Fixes #1882
Special notes for your reviewer:
Does this PR introduce a user-facing change?: