kaniko
kaniko copied to clipboard
/usr/lib/x86_64-linux-gnu/libcurl.so.4 Missing
Actual behavior The following files are missing when using Kaniko to build.
lrwxrwxrwx 1 root root 16 Sep 19 08:57 /usr/lib/x86_64-linux-gnu/libcurl.so.4 -> libcurl.so.4.8.0 -rw-r--r-- 1 root root 677656 Sep 6 11:38 /usr/lib/x86_64-linux-gnu/libcurl.so.4.7.0 -rw-r--r-- 1 root root 786336 Sep 6 11:27 /usr/lib/x86_64-linux-gnu/libcurl.so.4.8.0
Expected behavior Symbolink and files present
To Reproduce Steps to reproduce the behavior:
- Use docker to build a image `FROM ubuntu
RUN apt update && apt install libcurl4 -y
RUN ls -l /usr/lib/x86_64-linux-gnu/libcurl* `
- docker run that image, verify that libcurl.so.4 is present.
- Repeat step 1 and 2 but instead using docker build, use Kaniko instead.
- results
Additional Information
- Dockerfile Please provide either the Dockerfile you're trying to build or one that can reproduce this error.
- Build Context Please provide or clearly describe any files needed to build the Dockerfile (ADD/COPY commands)
- Kaniko Image (fully qualified with digest)
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 |
|
related: https://github.com/GoogleContainerTools/kaniko/issues/1045