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
1 changed files with 2 additions and 2 deletions

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