Skip to content

Commit 35a5703

Browse files
authored
fix(docker): Use proper Erlang binaries for our builds (#577)
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/#
1 parent 272a995 commit 35a5703

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Dockerfile

+5-2
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,11 @@ RUN : \
5454
&& rm /tmp/packages-microsoft-prod.deb \
5555
&& curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add - \
5656
&& echo "deb [arch=amd64] https://download.docker.com/linux/debian ${VERSION_CODENAME} stable" >> /etc/apt/sources.list \
57-
&& curl -fsSL https://packages.erlang-solutions.com/debian/erlang_solutions.asc | apt-key add - \
58-
&& echo 'deb https://packages.erlang-solutions.com/debian bullseye contrib' >> /etc/apt/sources.list \
57+
# Note we use the Erlang Solutions-provided binaries as the ones in Debian were too old
58+
# This may have changed and we may want to revert back to official Debian packages
59+
# See https://www.erlang-solutions.com/downloads/#
60+
&& curl -fsSL https://binaries2.erlang-solutions.com/GPG-KEY-pmanager.asc | apt-key add - \
61+
&& echo "deb https://binaries2.erlang-solutions.com/debian bullseye-elixir-1.15 contrib" >> /etc/apt/sources.list \
5962
&& apt-get update -qq \
6063
&& apt-get install -y --no-install-recommends \
6164
dotnet-sdk-9.0 \

0 commit comments

Comments
 (0)