use uid,gid instead of username and groupname

This commit is contained in:
Aneesh Joseph 2020-05-03 09:35:00 +05:30 committed by GitHub
parent d507f43105
commit 5e19658708
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -32,5 +32,5 @@ RUN chmod 0666 /etc/passwd
ADD bin/{ARG_OS}_{ARG_ARCH}/{ARG_BIN} /{ARG_BIN}
WORKDIR /tmp
USER git-sync:nogroup
USER 65533:65533
ENTRYPOINT ["/{ARG_BIN}"]