Skip to content

Commit

Permalink
docker: Use non-root user in image (#209)
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr authored Jun 13, 2019
1 parent 3460d65 commit 2215126
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,7 @@ FROM scratch
COPY --from=0 /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY oathkeeper /usr/bin/oathkeeper

USER 1000

ENTRYPOINT ["oathkeeper"]
CMD ["serve"]

0 comments on commit 2215126

Please sign in to comment.