commit: 7371e72e6cd29f1e0316a54bc9e798b20b693278
parent 3c89f3cf15da24242fa3db845b5f9458e2e9eb63
Author: Lain Soykaf <lain@lain.com>
Date: Tue, 12 Dec 2023 11:36:34 +0400
Dockerfile: Use platform libvips.
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