forked from ravens/docker-nextepc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
25 lines (17 loc) · 921 Bytes
/
Dockerfile
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
FROM ubuntu:18.04
MAINTAINER Yan Grunenberger <[email protected]>
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update
RUN apt-get -yq dist-upgrade
RUN apt-get --no-install-recommends -qqy install autoconf automake libtool gcc pkg-config git flex bison libsctp-dev libgnutls28-dev libgcrypt-dev libssl-dev libmongoc-dev libbson-dev libyaml-dev iptables libidn11-dev iproute2 ca-certificates
RUN git clone --recursive https://github.com/open5gs/nextepc
RUN cd /nextepc && autoreconf -iv && ./configure --prefix=/ && make -j `nproc` install
RUN apt-get -y install curl gnupg
RUN curl -sL https://deb.nodesource.com/setup_8.x | bash -
RUN apt-get -y install nodejs
RUN cd nextepc/webui && npm install && npm run build
ENV TZ=Europe/Madrid
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
RUN apt-get --no-install-recommends -qy install tshark
ENV MONGODB_STARTUP_TIME 5
WORKDIR /