docker image: switch to ubuntu's erlang (kofigumbs/codec-beam#49)

Looks like Ericsson dropped Bionic support
This commit is contained in:
Jens Petersen 2025-08-16 16:14:23 +08:00
parent 5959893411
commit 906381b200
2 changed files with 8 additions and 7 deletions

View File

@ -19,6 +19,7 @@ apt-get install -y \
coinor-libclp-dev \
curl \
dvipng \
erlang \
freeglut3-dev \
freetds-dev \
fsharp \

View File

@ -18,13 +18,13 @@ update-alternatives --install "/usr/bin/ld" "ld" "/usr/bin/ld.bfd" 10
# echo "/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server" > /etc/ld.so.conf.d/openjdk.conf \
# && ldconfig
# Install erlang/otp platform and its dependencies
ERLANG_DEB_FILE="esl-erlang_21.1-1~ubuntu~bionic_amd64.deb"
pushd /tmp \
&& wget https://packages.erlang-solutions.com/erlang/debian/pool/${ERLANG_DEB_FILE} \
&& (dpkg -i ${ERLANG_DEB_FILE}; apt-get install -yf) \
&& rm ${ERLANG_DEB_FILE} \
&& popd
# # Install erlang/otp platform and its dependencies
# ERLANG_DEB_FILE="esl-erlang_21.1-1~ubuntu~bionic_amd64.deb"
# pushd /tmp \
# && wget https://packages.erlang-solutions.com/erlang/debian/pool/${ERLANG_DEB_FILE} \
# && (dpkg -i ${ERLANG_DEB_FILE}; apt-get install -yf) \
# && rm ${ERLANG_DEB_FILE} \
# && popd
# protoc, for proto-lens-combinators test suite
# Instructions from: https://google.github.io/proto-lens/installing-protoc.html