-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathDockerfile
More file actions
27 lines (24 loc) · 794 Bytes
/
Dockerfile
File metadata and controls
27 lines (24 loc) · 794 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
FROM ubuntu:latest
RUN apt-get update && \
apt-get install -y make gcc g++ libncurses-dev libssl-dev git wget curl \
cmake python3-pip iproute2 zip unzip \
&& rm -rf /var/lib/apt/lists/*
# Install Erlang/OTP 28.0
# RUN git clone https://github.com/erlang/otp.git && \
# cd otp && \
# git fetch --all --tags && \
# git checkout tags/OTP-28.0 -b otp-28.0 && \
# ./configure && \
# make -j2 && \
# make install && \
# cd - && \
# rm -rf otp
# Install OTP 27.3.4
RUN curl -1sLf 'https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-erlang/setup.deb.sh' | bash
RUN apt-get update && \
apt-get install erlang -y && \
rm -rf /var/lib/apt/lists/*
ENV RUNNING_IN_DOCKER=true \
PIP_BREAK_SYSTEM_PACKAGES=1
WORKDIR /nerlnet
COPY . /nerlnet/