mirror of
https://github.com/schollz/croc.git
synced 2024-11-28 09:35:14 +03:00
Merge pull request #376 from Craeckie/master
Use unprivileged user in docker
This commit is contained in:
commit
b90f9329ca
@ -11,5 +11,6 @@ EXPOSE 9011
|
|||||||
EXPOSE 9012
|
EXPOSE 9012
|
||||||
EXPOSE 9013
|
EXPOSE 9013
|
||||||
COPY --from=builder /go/croc/croc /go/croc/croc-entrypoint.sh /
|
COPY --from=builder /go/croc/croc /go/croc/croc-entrypoint.sh /
|
||||||
|
USER nobody
|
||||||
ENTRYPOINT ["/croc-entrypoint.sh"]
|
ENTRYPOINT ["/croc-entrypoint.sh"]
|
||||||
CMD ["relay"]
|
CMD ["relay"]
|
||||||
|
Loading…
Reference in New Issue
Block a user