Closed boryn closed 3 months ago
Try installing it with checkinstall instead, then take the packages, and install them in a fresh container. By default, IMEI installs a lot of build tools, etc.
Hi @SoftCreatR
Thank you for the valuable tip!
Unfortunately I have no experience with checkinstall
. Could you just give me a hint where I can find the installed packages? Should I just 'copy-paste' them into a new container?
The packages should be in BUILD_DIR, which defaults to /usr/local Moving them to the container, and installing them using dpkg, should work, yes.
I install ImageMagick in the docker container (based on ubuntu:24.04), using the standard "one-step" install
It installs correctly but the container swells from 500MB to a whopping 1.8GB. I just cannot believe it needs 1.3GB for ImageMagick? How to minimize the size to just have the necessary files? What could be removed?