Commit 694e9643 authored by Sheogorath's avatar Sheogorath 🎓

Run doh-server as non-root

parent 9722e27c
......@@ -8,10 +8,13 @@ RUN true \
&& cd dns-over-https \
&& make \
&& apk del .build-utils \
&& adduser -h /go/dns-over-https/doh-server -S doh \
&& true
COPY ./entrypoint.sh /usr/local/bin/entrypoint
USER doh
ENTRYPOINT ["entrypoint"]
CMD ["./dns-over-https/doh-server/doh-server"]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment