mirror of
https://github.com/schollz/croc.git
synced 2025-10-11 13:21:00 +02:00
Merge pull request #376 from Craeckie/master
Use unprivileged user in docker
This commit is contained in:
commit
b90f9329ca
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue