sharp icon indicating copy to clipboard operation
sharp copied to clipboard

sharp install via Docker on Centos8 issue

Open LeoFengFromChina opened this issue 5 years ago • 2 comments

hi,dear master, when I used sharp with egg.js(based on Koa),and deploy with docker,

the error is: sharp: Installation error: Use with musl 1.1.20 requires manual installation of libvips >= 8.10.6

my dockerfile base: FROM node:12.10.0-alpine

LeoFengFromChina avatar Jul 09 '21 00:07 LeoFengFromChina

The node:12.10.0-alpine Docker image is out of date (and probably contains security vulnerabilities).

Please upgrade to at least Alpine 3.11 e.g. via node:12-alpine3.11 or Alpine 3.13 via node:12-alpine3.13.

lovell avatar Jul 09 '21 06:07 lovell

I hope this information helped. Please feel free to re-open with more details if further assistance is required.

lovell avatar Jul 16 '21 13:07 lovell