mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-05 23:37:22 +00:00
add other OS for docker
This commit is contained in:
parent
f5582c97b5
commit
c8a65b6b18
19 changed files with 157 additions and 17 deletions
|
|
@ -1,27 +0,0 @@
|
|||
ARG tag=latest
|
||||
ARG username=acetcom
|
||||
FROM ${username}/ubuntu-${tag}-base
|
||||
|
||||
MAINTAINER Sukchan Lee <acetcom@gmail.com>
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get upgrade -y && \
|
||||
apt-get install -y --no-install-recommends \
|
||||
debhelper \
|
||||
devscripts \
|
||||
dh-autoreconf \
|
||||
dh-systemd \
|
||||
fakeroot \
|
||||
cscope \
|
||||
vim \
|
||||
sudo \
|
||||
iputils-ping \
|
||||
net-tools && \
|
||||
apt-get clean
|
||||
|
||||
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}
|
||||
Loading…
Add table
Add a link
Reference in a new issue