diff options
| author | marcin mikołajczak <git@mkljczk.pl> | 2023-02-19 22:02:03 +0100 |
|---|---|---|
| committer | marcin mikołajczak <git@mkljczk.pl> | 2023-02-19 22:02:03 +0100 |
| commit | 92592c25c219f44ab6454762f5a5a97e800f5b1d (patch) | |
| tree | f1db48a9b222d875841c43b9c5f9b6d2c810a500 /Dockerfile | |
| parent | 3ed39e310939d90ddbad7bd7ffa1ebd8aca6e74c (diff) | |
| parent | 8a0162cd9694a1c5bf131fefb6e6a8d3dcb68fae (diff) | |
| download | pleroma-92592c25c219f44ab6454762f5a5a97e800f5b1d.tar.gz pleroma-92592c25c219f44ab6454762f5a5a97e800f5b1d.zip | |
Merge remote-tracking branch 'pleroma/develop' into status-notification-type
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/Dockerfile b/Dockerfile index c51ebbab0..8c3ff3ac5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,18 +1,22 @@ -FROM elixir:1.9-alpine as build +ARG ELIXIR_VER=1.11.4 +ARG ERLANG_VER=24.2.1 +ARG ALPINE_VER=3.17.0 + +FROM hexpm/elixir:${ELIXIR_VER}-erlang-${ERLANG_VER}-alpine-${ALPINE_VER} as build COPY . . ENV MIX_ENV=prod RUN apk add git gcc g++ musl-dev make cmake file-dev &&\ - echo "import Mix.Config" > config/prod.secret.exs &&\ + echo "import Config" > config/prod.secret.exs &&\ mix local.hex --force &&\ mix local.rebar --force &&\ mix deps.get --only prod &&\ mkdir release &&\ mix release --path release -FROM alpine:3.14 +FROM alpine:${ALPINE_VER} ARG BUILD_DATE ARG VCS_REF |
