Skip to content

Commit

Permalink
fix(docker): Use proper Erlang binaries for our builds (#577)
Browse files Browse the repository at this point in the history
The existing package paths for the compiled Erlang binaries
are no longer valid. This patch fixes them with the new ones
and fixes Docker image building.

Note that we are using the binaries compiled for Debian `bullseye`
instead of our `bookworm` version as they are not available yet.

One needs to check https://www.erlang-solutions.com/downloads/#
  • Loading branch information
BYK authored Dec 4, 2024
1 parent 272a995 commit 35a5703
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,11 @@ RUN : \
&& rm /tmp/packages-microsoft-prod.deb \
&& curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add - \
&& echo "deb [arch=amd64] https://download.docker.com/linux/debian ${VERSION_CODENAME} stable" >> /etc/apt/sources.list \
&& curl -fsSL https://packages.erlang-solutions.com/debian/erlang_solutions.asc | apt-key add - \
&& echo 'deb https://packages.erlang-solutions.com/debian bullseye contrib' >> /etc/apt/sources.list \
# Note we use the Erlang Solutions-provided binaries as the ones in Debian were too old
# This may have changed and we may want to revert back to official Debian packages
# See https://www.erlang-solutions.com/downloads/#
&& curl -fsSL https://binaries2.erlang-solutions.com/GPG-KEY-pmanager.asc | apt-key add - \
&& echo "deb https://binaries2.erlang-solutions.com/debian bullseye-elixir-1.15 contrib" >> /etc/apt/sources.list \
&& apt-get update -qq \
&& apt-get install -y --no-install-recommends \
dotnet-sdk-9.0 \
Expand Down

0 comments on commit 35a5703

Please sign in to comment.