Skip to content

Commit

Permalink
Dockerfile: allow specifying build's Erlang version via ARG parameter.
Browse files Browse the repository at this point in the history
  • Loading branch information
pataquets committed Oct 13, 2023
1 parent eb1e791 commit 5e42ff7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
FROM erlang:25 AS compile-image
# To override the default Erlang version used in the build, use:
# $ docker build --build-arg erlang_version=22 ...

ARG erlang_version="25"
FROM erlang:${erlang_version} AS compile-image

EXPOSE 8080 8085

Expand Down

0 comments on commit 5e42ff7

Please sign in to comment.