Use numeric USER for nonroot:nonroot in Dockerfile (#1765)

Signed-off-by: David Young <davidy@funkypenguin.co.nz>
This commit is contained in:
David Young 2022-09-21 13:50:27 +12:00 committed by GitHub
parent dfadb86d66
commit 21af1ec19d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -48,6 +48,6 @@ WORKDIR /
COPY --from=builder /out/manager .
COPY --from=builder /out/github-webhook-server .
USER nonroot:nonroot
USER 65532:65532
ENTRYPOINT ["/manager"]