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
A clear and concise description of what the bug is.
I have a custom kaniko image that combines Kaniko and git and in gitlab-ci pipeline after kaniko being executed brokes its building container library dependencies.
$ git config --global user.email "[email protected]" && git config --global user.name "Gitlab-ci"
git: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found (required by git)
Expected behavior
A clear and concise description of what you expected to happen.
above command should run
To Reproduce
Steps to reproduce the behavior:
I have tried alpine and debian and ubunutu base images. all are same.
Additional Information
Dockerfile
FROM gcr.io/kaniko-project/executor:latest AS kaniko
FROM dotnet-sdk:6.0.1-nuget
RUN apt-get update && \
apt-get install -y git \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
COPY --from=kaniko /kaniko/executor /kaniko/executor
COPY --from=kaniko /etc/nsswitch.conf /etc/nsswitch.conf
COPY --from=kaniko /kaniko/.docker /kaniko/.docker
RUN dotnet tool install --global dotnet-sonarscanner
Triage Notes for the Maintainers
Description
Yes/No
Please check if this a new feature you are proposing
Please check if the build works in docker but not in kaniko
Please check if this error is seen when you use --cache flag
Please check if your dockerfile is a multistage dockerfile
The text was updated successfully, but these errors were encountered:
Running kaniko in any Docker image other than the official kaniko image is not supported due to implementation details.
Specifically it is not sufficient to copy the kaniko binary. kaniko depends on the entire filetree being in its expected state.
This is not so much a "known issue" but a fundamental design constraint when building an image inside your own container.
Actual behavior
A clear and concise description of what the bug is.
I have a custom kaniko image that combines Kaniko and git and in gitlab-ci pipeline after kaniko being executed brokes its building container library dependencies.
$ git config --global user.email "[email protected]" && git config --global user.name "Gitlab-ci"
git: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found (required by git)
Expected behavior
A clear and concise description of what you expected to happen.
above command should run
To Reproduce
Steps to reproduce the behavior:
Additional Information
Triage Notes for the Maintainers
--cache
flagThe text was updated successfully, but these errors were encountered: