diff options
author | tusooa <tusooa@kazv.moe> | 2022-12-18 13:57:03 -0500 |
---|---|---|
committer | tusooa <tusooa@kazv.moe> | 2023-01-18 19:01:10 -0500 |
commit | 1cf20184ff214aa36041391bdab059215c42784a (patch) | |
tree | 2d536b7e109b423a8841b7f7aa6de8373aedc18a | |
parent | 2a244b391d8c1d9d8e960532758110928cb5ef7c (diff) | |
download | pleroma-1cf20184ff214aa36041391bdab059215c42784a.tar.gz pleroma-1cf20184ff214aa36041391bdab059215c42784a.zip |
Use versioned image from hexpm
-rw-r--r-- | Dockerfile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile index 64f955b78..8c3ff3ac5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,8 @@ -FROM elixir:1.11.4-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 . . @@ -12,7 +16,7 @@ RUN apk add git gcc g++ musl-dev make cmake file-dev &&\ mkdir release &&\ mix release --path release -FROM alpine +FROM alpine:${ALPINE_VER} ARG BUILD_DATE ARG VCS_REF |