Skip to content

Commit

Permalink
Use ESL for Ubuntu erlang resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
TylerWitt committed Jan 14, 2025
1 parent c12fd85 commit f63c0e5
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions hex/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,13 @@ RUN apt-get update \
# * https://erlangforums.com/t/erlang-solutions-apt-package-for-otp-25/1552/1
# * https://erlangforums.com/t/the-eef-is-looking-for-volunteers-to-take-over-esls-build-packages/2238/1
ARG ERLANG_MAJOR_VERSION=25
ARG ERLANG_SECONDARY_VERSION=3.2.12
ARG ERLANG_VERSION=1:${ERLANG_MAJOR_VERSION}.${ERLANG_SECONDARY_VERSION}+dfsg-1ubuntu2

RUN echo "deb http://binaries2.erlang-solutions.com/ubuntu/ jammy-esl-erlang-25 contrib" >> /etc/apt/sources.list
RUN wget https://binaries2.erlang-solutions.com/GPG-KEY-pmanager.asc \
&& sudo apt-key add GPG-KEY-pmanager.asc

RUN apt-get update \
&& apt-get install -y --no-install-recommends \
erlang=${ERLANG_VERSION}
&& apt-get install -y --no-install-recommends erlang

# Install Elixir
# https://github.com/elixir-lang/elixir/releases
Expand Down

0 comments on commit f63c0e5

Please sign in to comment.