diff options
author | Lain Soykaf <lain@lain.com> | 2023-12-12 11:36:34 +0400 |
---|---|---|
committer | Lain Soykaf <lain@lain.com> | 2023-12-12 11:36:34 +0400 |
commit | 7371e72e6cd29f1e0316a54bc9e798b20b693278 (patch) | |
tree | 27df8eb35e03e1dbfb82a9de7ebb8c80a7209ab0 /Dockerfile | |
parent | 3c89f3cf15da24242fa3db845b5f9458e2e9eb63 (diff) | |
download | pleroma-7371e72e6cd29f1e0316a54bc9e798b20b693278.tar.gz pleroma-7371e72e6cd29f1e0316a54bc9e798b20b693278.zip |
Dockerfile: Use platform libvips.
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile index 13d8a85ac..bfddfcb7b 100644 --- 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 &&\ |