⬆️ this is a lot of manual checking to see which version of sharp that Ghost requires, and then which version of libvips that sharp requires, and then checking if that is available in the Alpine release we are on. I'd rather have some automation (in the Dockerfile?) to check these assumptions before just adding sharp back to the build-from-source deps.
Alpine 3.17 lib-vips is new enough for sharp
https://github.com/TryGhost/Ghost/blob/v5.65.1/yarn.lock#L28340-L28341 https://github.com/lovell/sharp/blob/v0.30.7/package.json#L157 https://pkgs.alpinelinux.org/packages?name=vips-dev&branch=v3.17
⬆️ this is a lot of manual checking to see which version of
sharp
that Ghost requires, and then which version oflibvips
thatsharp
requires, and then checking if that is available in the Alpine release we are on. I'd rather have some automation (in the Dockerfile?) to check these assumptions before just addingsharp
back to thebuild-from-source
deps.Closes https://github.com/docker-library/ghost/pull/293