kaniko icon indicating copy to clipboard operation
kaniko copied to clipboard

/usr/lib/x86_64-linux-gnu/libcurl.so.4 Missing

Open rlindsberg opened this issue 1 year ago • 1 comments

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:

  1. 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* `

  1. docker run that image, verify that libcurl.so.4 is present.
  2. Repeat step 1 and 2 but instead using docker build, use Kaniko instead.
  3. results Screenshot 2024-09-19 at 10 40 43

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
  • - [ ]

rlindsberg avatar Sep 19 '24 09:09 rlindsberg

related: https://github.com/GoogleContainerTools/kaniko/issues/1045

rlindsberg avatar Sep 27 '24 13:09 rlindsberg