Skip to content

Commit

Permalink
fix: update Dockerfile to the same Elixir/Erlang version as `.tool-ve…
Browse files Browse the repository at this point in the history
…rsions`

Looks like it was missed as a part of #280.
  • Loading branch information
paulswartz committed Sep 18, 2023
1 parent 36a918a commit 1691177
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
FROM hexpm/elixir:1.11.4-erlang-24.3.4.7-alpine-3.16.3 AS builder
ARG ELIXIR_VERSION=1.14.5
ARG ERLANG_VERSION=25.3.2.1
ARG ALPINE_VERSION=3.18.0
FROM hexpm/elixir:$ELIXIR_VERSION-erlang-$ERLANG_VERSION-alpine-$ALPINE_VERSION AS builder

WORKDIR /root

Expand All @@ -22,9 +25,10 @@ ADD src /root/src
RUN mix do compile, release

# Second stage: copies the files from the builder stage
FROM alpine:3.16.3
FROM alpine:$ALPINE_VERSION

RUN apk add --update libssl1.1 ncurses-libs bash dumb-init libstdc++ \
&& apk upgrade \
&& rm -rf /var/cache/apk

# Set environment
Expand Down

0 comments on commit 1691177

Please sign in to comment.