Skip to content

Instantly share code, notes, and snippets.

@developer-guy
Created March 24, 2021 20:20
Show Gist options
  • Save developer-guy/310902463c27613b68bdabedd2052a9e to your computer and use it in GitHub Desktop.
Save developer-guy/310902463c27613b68bdabedd2052a9e to your computer and use it in GitHub Desktop.
distroless + nonroot
..
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