Created
March 24, 2021 20:20
-
-
Save developer-guy/310902463c27613b68bdabedd2052a9e to your computer and use it in GitHub Desktop.
distroless + nonroot
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.. | |
FROM gcr.io/distroless/static:nonroot-amd64 | |
COPY --from=builder --chown=nonroot:nonroot /app ./ | |
USER nonroot | |
ENTRYPOINT ["./app"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment