Skip to content

Commit 673151a

Browse files
authored
Merge pull request #408 from leondavi/docker
docker change
2 parents f61b096 + 2b064e5 commit 673151a

File tree

1 file changed

+6
-11
lines changed

1 file changed

+6
-11
lines changed

Dockerfile

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

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
18-
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
13+
1914
ENV RUNNING_IN_DOCKER=true \
2015
PIP_BREAK_SYSTEM_PACKAGES=1
2116
WORKDIR /nerlnet

0 commit comments

Comments
 (0)