diff options
| author | tusooa <tusooa@kazv.moe> | 2022-12-18 13:57:03 -0500 |
|---|---|---|
| committer | tusooa <tusooa@kazv.moe> | 2023-02-20 12:25:31 -0500 |
| commit | 772d99c5822e3936e202dd50e399545f263adb0d (patch) | |
| tree | 0ae68fc7b4bf59734f464eba63d59df4063647f7 | |
| parent | 1c225bfd6e86b58d2a70eb74d3774a438dc7796b (diff) | |
| download | pleroma-772d99c5822e3936e202dd50e399545f263adb0d.tar.gz pleroma-772d99c5822e3936e202dd50e399545f263adb0d.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 |
