mirror of
https://github.com/open5gs/open5gs.git
synced 2026-04-29 20:09:31 +00:00
Integration with OGSLib
This commit is contained in:
parent
4165ec1264
commit
0ebd85f364
1552 changed files with 24483 additions and 51485 deletions
36
docker/ubuntu/bionic/dev/Dockerfile
Normal file
36
docker/ubuntu/bionic/dev/Dockerfile
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
ARG dist=ubuntu
|
||||
ARG tag=latest
|
||||
ARG username=acetcom
|
||||
FROM ${username}/${dist}-${tag}-nextepc-base
|
||||
|
||||
MAINTAINER Sukchan Lee <acetcom@gmail.com>
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get upgrade -y && \
|
||||
DEBIAN_FRONTEND=noninteractive \
|
||||
apt-get install -y --no-install-recommends \
|
||||
git-buildpackage \
|
||||
debhelper \
|
||||
devscripts \
|
||||
osc \
|
||||
dput \
|
||||
dh-autoreconf \
|
||||
dh-systemd \
|
||||
manpages-dev \
|
||||
fakeroot \
|
||||
cscope \
|
||||
vim \
|
||||
sudo \
|
||||
iputils-ping \
|
||||
wireshark \
|
||||
net-tools && \
|
||||
apt-get clean
|
||||
|
||||
COPY setup.sh /root
|
||||
|
||||
ARG username=acetcom
|
||||
RUN useradd -m --uid=1000 ${username} && \
|
||||
echo "${username} ALL=(root) NOPASSWD:ALL" > /etc/sudoers.d/${username} && \
|
||||
chmod 0440 /etc/sudoers.d/${username}
|
||||
|
||||
WORKDIR /home/${username}
|
||||
10
docker/ubuntu/bionic/dev/setup.sh
Executable file
10
docker/ubuntu/bionic/dev/setup.sh
Executable file
|
|
@ -0,0 +1,10 @@
|
|||
#!/bin/sh
|
||||
|
||||
if ! grep "pgwtun" /proc/net/dev > /dev/null; then
|
||||
ip tuntap add name pgwtun mode tun
|
||||
fi
|
||||
ip addr del 45.45.0.1/16 dev pgwtun 2> /dev/null
|
||||
ip addr add 45.45.0.1/16 dev pgwtun
|
||||
ip addr del cafe::1/64 dev pgwtun 2> /dev/null
|
||||
ip addr add cafe::1/64 dev pgwtun
|
||||
ip link set pgwtun up
|
||||
Loading…
Add table
Add a link
Reference in a new issue