Run as non-root

I tried to follow a principle of encapsulation here - we can still default to
peeps making connections to 80/443 on a Service object, but internally we will
use 8080/8443.

Signed-off-by: Andrew Keesler <akeesler@vmware.com>
This commit is contained in:
Andrew Keesler
2020-11-02 12:51:15 -05:00
parent 7639d5e161
commit fcea48c8f9
14 changed files with 54 additions and 41 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ FROM debian:10.5-slim
COPY build/pinniped-concierge /usr/local/bin/pinniped-concierge
# Document the port
EXPOSE 443
EXPOSE 8443
# Set the entrypoint
ENTRYPOINT ["/usr/local/bin/pinniped-concierge"]
@@ -8,7 +8,7 @@ FROM debian:10.5-slim
COPY build/local-user-authenticator /usr/local/bin/local-user-authenticator
# Document the port
EXPOSE 443
EXPOSE 8443
# Set the entrypoint
ENTRYPOINT ["/usr/local/bin/local-user-authenticator"]
+1 -1
View File
@@ -8,7 +8,7 @@ FROM debian:10.5-slim
COPY build/pinniped-supervisor /usr/local/bin/pinniped-supervisor
# Document the port
EXPOSE 443
EXPOSE 8443
# Set the entrypoint
ENTRYPOINT ["/usr/local/bin/pinniped-supervisor"]