Description
Hi, thank you for the fantastic work with libvips.
I'm not sure if this is the right repo to report my issue but any help would be appreciated .
I'm using ruby-vips (with active storage for rails) in a docker based on ruby:3.1.3-slim-bullseye
. For that, i need to install libvips-dev or libvips (I tested the both). The result docker image size is too large and when i did some inspection i noticed that libvips layer takes a considerable size. I created simple docker file for testing purpose.
Env Mac :
MacOs Big Sur , V 11.6 (20G165) , MacBook Air (M1, 2020)
Docker version 20.10.13
** Ubuntu :**
Ubuntu 22.04.1 LTS
Docker version 20.10.21, build 20.10.21-0ubuntu1~22.04.3
test Dockerfile for libvips-dev :
FROM ruby:3.1.3-slim-bullseye
RUN bash -c "set -o pipefail && apt-get update "
RUN bash -c "apt-get install -y libvips-dev"
ENTRYPOINT ["tail", "-f", "/dev/null"]
#CMD ["sh", "-c", "echo 'test'"]
Inspection result

I tested the use case with libvips
with the example below :
Simple Dockerfile to reproduce the same use case with libvips
:
FROM ruby:3.1.3-slim-bullseye
RUN bash -c "set -o pipefail && apt-get update "
RUN bash -c "set -o pipefail && apt-get install -y libvips"
ENTRYPOINT ["tail", "-f", "/dev/null"]