FROM hexpm/elixir:1.18.0-rc.0-erlang-26.2.5.8-alpine-3.23.3 RUN apk add --no-cache build-base git bash wget WORKDIR /app ENV USER="elixir" RUN addgroup -g 1000 $USER && \ adduser -D -u 1000 -G $USER $USER RUN mkdir -p /app/_build && \ chown -R elixir:elixir /app USER elixir RUN mix local.hex --force && \ mix local.rebar --force