Dockerfile: Use platform libvips.

This commit is contained in:
Lain Soykaf 2023-12-12 11:36:34 +04:00
parent 3c89f3cf15
commit 7371e72e6c
2 changed files with 2 additions and 1 deletions

View File

@ -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 &&\

View File