mirror of
https://github.com/open5gs/open5gs.git
synced 2026-04-28 11:29:32 +00:00
[DOCKER] Change UID from 1000 to 2000
The ubuntu docker image defaults to UID 1000 as the ubuntu username, so change the UID of the open5gs default user acetcom to 2000.
This commit is contained in:
parent
eb28c514ea
commit
9d8d560be7
5 changed files with 5 additions and 5 deletions
|
|
@ -27,7 +27,7 @@ RUN apt-get update && \
|
|||
COPY setup.sh /root
|
||||
|
||||
ARG username=acetcom
|
||||
RUN useradd -m --uid=1000 ${username} && \
|
||||
RUN useradd -m --uid=2000 ${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