Skip to content

Commit f96f94b

Browse files
authored
Merge pull request #415 from leondavi/docker
latest_otp
2 parents 5dcbe3e + 1f6a34b commit f96f94b

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

Dockerfile

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM ubuntu:latest
22

33
RUN apt-get update && \
4-
apt-get install -y make gcc g++ libncurses-dev libssl-dev git wget \
4+
apt-get install -y make gcc g++ libncurses-dev libssl-dev git wget curl \
55
cmake python3-pip iproute2 zip unzip \
66
&& rm -rf /var/lib/apt/lists/*
77

@@ -16,12 +16,10 @@ RUN apt-get update && \
1616
# cd - && \
1717
# rm -rf otp
1818
# Install OTP 27.3.4
19-
RUN wget https://binaries2.erlang-solutions.com/GPG-KEY-pmanager.asc && \
20-
apt-key add GPG-KEY-pmanager.asc && \
21-
rm GPG-KEY-pmanager.asc && \
22-
echo "deb http://binaries2.erlang-solutions.com/ubuntu/ focal-esl-erlang-27 contrib" > /etc/apt/sources.list.d/erlang-solutions.list && \
23-
apt-get update && \
24-
apt-get install erlang
19+
RUN curl -1sLf 'https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-erlang/setup.deb.sh' | sudo -E bash
20+
RUN apt-get update && \
21+
apt-get install erlang -y && \
22+
rm -rf /var/lib/apt/lists/*
2523

2624
ENV RUNNING_IN_DOCKER=true \
2725
PIP_BREAK_SYSTEM_PACKAGES=1

0 commit comments

Comments
 (0)