File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change 1
1
FROM ubuntu:latest
2
2
3
3
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 \
5
5
cmake python3-pip iproute2 zip unzip \
6
6
&& rm -rf /var/lib/apt/lists/*
7
7
@@ -16,12 +16,10 @@ RUN apt-get update && \
16
16
# cd - && \
17
17
# rm -rf otp
18
18
# 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/*
25
23
26
24
ENV RUNNING_IN_DOCKER=true \
27
25
PIP_BREAK_SYSTEM_PACKAGES=1
You can’t perform that action at this time.
0 commit comments