fix: unswap uid/gid in dockerfile (#1810)
parent
bcf0965795
commit
958f5967b9
|
@ -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 New Issue