Don't run as root in container
This commit is contained in:
@@ -8,4 +8,5 @@ RUN nim c -d:release --passL:-static norbert.nim
|
||||
FROM scratch
|
||||
|
||||
COPY --from=builder /build/norbert /norbert
|
||||
USER 65534
|
||||
ENTRYPOINT ["/norbert"]
|
||||
Reference in New Issue
Block a user