Bump up the commit used for open5gs base image
This commit is contained in:
@@ -60,16 +60,20 @@ RUN apt-get update && \
|
|||||||
libidn11-dev \
|
libidn11-dev \
|
||||||
libtalloc-dev
|
libtalloc-dev
|
||||||
|
|
||||||
RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash - && apt-get install -y nodejs
|
RUN mkdir -p /etc/apt/keyrings
|
||||||
|
RUN curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg && \
|
||||||
|
NODE_MAJOR=20 && \
|
||||||
|
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_MAJOR.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list && \
|
||||||
|
apt-get update && apt install nodejs -y
|
||||||
|
|
||||||
# Get open5gs code and install
|
# Get open5gs code and install
|
||||||
RUN git clone --recursive https://github.com/open5gs/open5gs && cd open5gs && \
|
RUN git clone --recursive https://github.com/open5gs/open5gs && cd open5gs && \
|
||||||
git checkout 7f088730ed4bedc12f562e53de44697d5e1f5c6e && meson build --prefix=`pwd`/install && \
|
git checkout 0abfb204ea2c1c5d677e7e99667f018599924f0e && meson build --prefix=`pwd`/install && \
|
||||||
ninja -C build && cd build && ninja install && \
|
ninja -C build && cd build && ninja install && \
|
||||||
mkdir -p /open5gs/install/include
|
mkdir -p /open5gs/install/include
|
||||||
|
|
||||||
# Building WebUI of open5gs
|
# Building WebUI of open5gs
|
||||||
RUN cd open5gs/webui && npm clean-install && npm run build
|
RUN cd open5gs/webui && npm ci
|
||||||
|
|
||||||
# Build final image
|
# Build final image
|
||||||
FROM ubuntu:focal
|
FROM ubuntu:focal
|
||||||
@@ -97,13 +101,17 @@ RUN apt-get update && \
|
|||||||
python3-wheel \
|
python3-wheel \
|
||||||
python3-pip \
|
python3-pip \
|
||||||
iptables \
|
iptables \
|
||||||
iperf && \
|
iperf \
|
||||||
|
gnupg && \
|
||||||
apt-get autoremove -y && apt-get autoclean
|
apt-get autoremove -y && apt-get autoclean
|
||||||
|
|
||||||
RUN pip3 install click
|
RUN pip3 install click
|
||||||
|
|
||||||
RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash - && apt-get install -y nodejs && \
|
RUN mkdir -p /etc/apt/keyrings
|
||||||
apt-get remove -y curl && apt-get autoremove -y && apt-get autoclean
|
RUN curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg && \
|
||||||
|
NODE_MAJOR=20 && \
|
||||||
|
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_MAJOR.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list && \
|
||||||
|
apt-get update && apt install nodejs -y
|
||||||
|
|
||||||
RUN update-ca-certificates
|
RUN update-ca-certificates
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user