commit: e9d9caa77c2c940b89e10ca202ab7625d13ccfca
parent 3c89f3cf15da24242fa3db845b5f9458e2e9eb63
Author: lain <lain@soykaf.club>
Date: Tue, 12 Dec 2023 08:11:33 +0000
Merge branch 'fix-dockerfile' into 'develop'
Dockerfile: Use platform libvips.
See merge request pleroma/pleroma!3995
Diffstat:
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/Dockerfile b/Dockerfile
@@ -8,8 +8,9 @@ FROM ${ELIXIR_IMG}:${ELIXIR_VER}-erlang-${ERLANG_VER}-alpine-${ALPINE_VER} as bu
COPY . .
ENV MIX_ENV=prod
+ENV VIX_COMPILATION_MODE=PLATFORM_PROVIDED_LIBVIPS
-RUN apk add git gcc g++ musl-dev make cmake file-dev rust &&\
+RUN apk add git gcc g++ musl-dev make cmake file-dev vips &&\
echo "import Config" > config/prod.secret.exs &&\
mix local.hex --force &&\
mix local.rebar --force &&\
diff --git a/changelog.d/fix-dockerfile.skip b/changelog.d/fix-dockerfile.skip