alpine-erlang Docker image builder, largely based on bitwalker/alpine-erlang but modified to allow use of Docker build arguments and to take advantage of multi-stage builds for a slightly smaller distribution image.
To simply use the latest, published Docker image
docker pull shoresuite/alpine-erlang
However, it's recommended that you specify the exact image version (based on Erlang/OTP version)
docker pull shoresuite/alpine-erlang:21.2.2
To build and tag the image yourself locally, first clone this repository then
ERLANG_VERSION=$(cat VERSION|tr -d '\n'); docker build -t alpine-erlang:${ERLANG_VERSION} --build-arg ERLANG_VERSION=${ERLANG_VERSION} .
You may also try to build using an older version of Erlang, by supplying your own value for ERLANG_VERSION
. For example
ERLANG_VERSION='21.1.4'; docker build -t alpine-erlang:${ERLANG_VERSION} --build-arg ERLANG_VERSION=${ERLANG_VERSION} .