1
0
Fork 1
mirror of https://github.com/elk-zone/elk.git synced 2024-07-03 04:56:48 +01:00

fix: unswap uid/gid in dockerfile (#1810)

This commit is contained in:
Cristiano Verondini 2023-02-23 14:27:50 +01:00 committed by GitHub
parent bcf0965795
commit 958f5967b9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -34,8 +34,8 @@ ARG GID=911
# Create a dedicated user and group
RUN set -eux; \
addgroup -g $UID elk; \
adduser -u $GID -D -G elk elk;
addgroup -g $GID elk; \
adduser -u $UID -D -G elk elk;
USER elk