ci: add make check, Gitea workflow, numeric runtime user
This commit is contained in:
1 parent
9ebb9cdf0d
commit
539b90cf4e
4 files changed
+70
-2
No files matched your search
+3
-1
@@ -24,6 +24,8 @@ ENV DATA_DIR=/app/data \
|
||||
PORT=8080
|
||||
|
||||
EXPOSE 8080
|
||||
USER nonroot:nonroot
|
||||
# Numeric UID/GID: the kubelet cannot verify named users for runAsNonRoot.
|
||||
# 65532 is the distroless "nonroot" user.
|
||||
USER 65532:65532
|
||||
|
||||
ENTRYPOINT ["/app/api"]
|
||||
Reference in new issue
Block a user