From faa67cf83c4eea8934c875bedc4c37d7ee566c05 Mon Sep 17 00:00:00 2001 From: Joseph Ferguson Date: Wed, 27 Sep 2023 16:20:49 -0700 Subject: [PATCH] Add sharp module building 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 --- 5/alpine/Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/5/alpine/Dockerfile b/5/alpine/Dockerfile index 426586ea..20842100 100644 --- a/5/alpine/Dockerfile +++ b/5/alpine/Dockerfile @@ -70,8 +70,7 @@ RUN set -eux; \ # must be some non-amd64 architecture pre-built binaries aren't published for, so let's install some build deps and do-it-all-over-again virtualPackages='g++ make python3'; \ case "$package" in \ - # TODO sharp@*) virtualPackages="$virtualPackages pkgconf vips-dev"; \ - sharp@*) echo >&2 "sorry: libvips 8.12.1 in Alpine 3.15 is not new enough (8.12.2+) for sharp 0.30 😞"; continue ;; \ + sharp@*) virtualPackages="$virtualPackages pkgconf vips-dev"; \ esac; \ virtual=".build-deps-${package%%@*}"; \ apkDel="$apkDel $virtual"; \