Skip to content

Commit c9b051b

Browse files
authored
Update Dockerfile
1 parent a0a1a84 commit c9b051b

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

Dockerfile

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,16 @@ RUN apt-get update && \
55
cmake python3-pip iproute2 zip unzip \
66
&& rm -rf /var/lib/apt/lists/*
77

8-
RUN wget https://packages.erlang-solutions.com/ubuntu/erlang_solutions.asc && \
9-
sudo apt-key add erlang_solutions.asc && \
10-
echo "deb https://packages.erlang-solutions.com/ubuntu focal contrib" | sudo tee /etc/apt/sources.list.d/erlang-solutions.list && \
11-
apt-get update && \
12-
sudo apt install -y esl-erlang
8+
# Install Erlang/OTP 28.0
9+
RUN git clone https://github.com/erlang/otp.git && \
10+
cd otp && \
11+
git fetch --all --tags && \
12+
git checkout tags/OTP-28.0 -b otp-28.0 && \
13+
./configure && \
14+
make -j2 && \
15+
make install && \
16+
cd - && \
17+
rm -rf otp
1318

1419
ENV RUNNING_IN_DOCKER=true \
1520
PIP_BREAK_SYSTEM_PACKAGES=1

0 commit comments

Comments
 (0)