Skip to content

Commit

Permalink
Update run-base.md: fix Dockerfile template
Browse files Browse the repository at this point in the history
Signed-off-by: GatinMI <marat96g@gmail.com>
  • Loading branch information
GatinMI authored Oct 12, 2024
1 parent 5b39011 commit 38b5469
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ FROM ubuntu:jammy
# Install packages that we want to make available at run time
RUN apt-get update && \
apt-get install -y xz-utils ca-certificates && \
rm -rf /var/lib/apt/lists/* \
rm -rf /var/lib/apt/lists/*

# Create user and group
ARG cnb_uid=1000
ARG cnb_gid=1000
RUN groupadd cnb --gid ${cnb_gid} && \
useradd --uid ${cnb_uid} --gid ${cnb_gid} -m -s /bin/bash cnb \
useradd --uid ${cnb_uid} --gid ${cnb_gid} -m -s /bin/bash cnb

# Set user and group
USER ${cnb_uid}:${cnb_gid}
Expand Down

0 comments on commit 38b5469

Please sign in to comment.