forked from Mirrors/elk
fix: unswap uid/gid in dockerfile (#1810)
This commit is contained in:
parent
bcf0965795
commit
958f5967b9
1 changed files with 2 additions and 2 deletions
|
@ -34,8 +34,8 @@ ARG GID=911
|
||||||
|
|
||||||
# Create a dedicated user and group
|
# Create a dedicated user and group
|
||||||
RUN set -eux; \
|
RUN set -eux; \
|
||||||
addgroup -g $UID elk; \
|
addgroup -g $GID elk; \
|
||||||
adduser -u $GID -D -G elk elk;
|
adduser -u $UID -D -G elk elk;
|
||||||
|
|
||||||
USER elk
|
USER elk
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue