mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-05 15:24:14 +00:00
update Dockerfile
This commit is contained in:
parent
d74afc5bc7
commit
e2bb5706fa
8 changed files with 18 additions and 17 deletions
|
|
@ -4,7 +4,7 @@ FROM ${dist}:${tag}
|
|||
|
||||
MAINTAINER Sukchan Lee <acetcom@gmail.com>
|
||||
|
||||
RUN apt-get update && \
|
||||
RUN apt-get update && \
|
||||
apt-get upgrade -y && \
|
||||
apt-get install -y --no-install-recommends \
|
||||
autoconf \
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ FROM ${username}/${dist}-${tag}-build
|
|||
|
||||
MAINTAINER Sukchan Lee <acetcom@gmail.com>
|
||||
|
||||
RUN apt-get update && \
|
||||
RUN apt-get update && \
|
||||
apt-get upgrade -y && \
|
||||
apt-get install -y --no-install-recommends \
|
||||
debhelper \
|
||||
|
|
@ -21,7 +21,7 @@ RUN apt-get update && \
|
|||
apt-get clean
|
||||
|
||||
ARG username=acetcom
|
||||
RUN useradd -m --uid=1000 ${username} && \
|
||||
RUN useradd -m --uid=1000 ${username} && \
|
||||
echo "${username} ALL=(root) NOPASSWD:ALL" > /etc/sudoers.d/${username} && \
|
||||
chmod 0440 /etc/sudoers.d/${username}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue