sharp icon indicating copy to clipboard operation
sharp copied to clipboard

Alpine: which dependencies are unnecessary at runtime?

Open zhcsyncer opened this issue 8 years ago • 2 comments

It doesn't work on the alpine-based docker image when I delete the vips-dev.

zhcsyncer avatar Jan 04 '18 15:01 zhcsyncer

Hello, the vips and vips-dev packages are required at npm install (compile) time but only the vips package is required at runtime when using Alpine.

lovell avatar Jan 04 '18 20:01 lovell

thks. When I used apk add vips-dev to install vips-dev, vips was installed as a dependency of vips-dev, so when apk del vips-dev was executed, apk was also deleted by apk.

zhcsyncer avatar Jan 06 '18 03:01 zhcsyncer