Skip to content

Commit

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

USER 1000

ENTRYPOINT ["keto"]

CMD ["serve"]

0 comments on commit a493e55

Please sign in to comment.