Run Tilt containers as root because live-reload breaks otherwise
This commit is contained in:
parent
9bfcaa33c6
commit
01941d6b2a
@ -11,7 +11,9 @@ COPY build/pinniped-concierge /usr/local/bin/pinniped-concierge
|
|||||||
EXPOSE 8443
|
EXPOSE 8443
|
||||||
|
|
||||||
# Run as non-root for security posture
|
# Run as non-root for security posture
|
||||||
USER 1001:1001
|
# Commented out because it breaks the live-reload feature of Tilt. See https://github.com/tilt-dev/tilt/issues/2300
|
||||||
|
# Be aware that this creates a significant difference between running with Tilt and running otherwise.
|
||||||
|
#USER 1001:1001
|
||||||
|
|
||||||
# Set the entrypoint
|
# Set the entrypoint
|
||||||
ENTRYPOINT ["/usr/local/bin/pinniped-concierge"]
|
ENTRYPOINT ["/usr/local/bin/pinniped-concierge"]
|
||||||
|
@ -11,7 +11,9 @@ COPY build/local-user-authenticator /usr/local/bin/local-user-authenticator
|
|||||||
EXPOSE 8443
|
EXPOSE 8443
|
||||||
|
|
||||||
# Run as non-root for security posture
|
# Run as non-root for security posture
|
||||||
USER 1001:1001
|
# Commented out because it breaks the live-reload feature of Tilt. See https://github.com/tilt-dev/tilt/issues/2300
|
||||||
|
# Be aware that this creates a significant difference between running with Tilt and running otherwise.
|
||||||
|
#USER 1001:1001
|
||||||
|
|
||||||
# Set the entrypoint
|
# Set the entrypoint
|
||||||
ENTRYPOINT ["/usr/local/bin/local-user-authenticator"]
|
ENTRYPOINT ["/usr/local/bin/local-user-authenticator"]
|
||||||
|
@ -11,7 +11,9 @@ COPY build/pinniped-supervisor /usr/local/bin/pinniped-supervisor
|
|||||||
EXPOSE 8080 8443
|
EXPOSE 8080 8443
|
||||||
|
|
||||||
# Run as non-root for security posture
|
# Run as non-root for security posture
|
||||||
USER 1001:1001
|
# Commented out because it breaks the live-reload feature of Tilt. See https://github.com/tilt-dev/tilt/issues/2300
|
||||||
|
# Be aware that this creates a significant difference between running with Tilt and running otherwise.
|
||||||
|
#USER 1001:1001
|
||||||
|
|
||||||
# Set the entrypoint
|
# Set the entrypoint
|
||||||
ENTRYPOINT ["/usr/local/bin/pinniped-supervisor"]
|
ENTRYPOINT ["/usr/local/bin/pinniped-supervisor"]
|
||||||
|
Loading…
Reference in New Issue
Block a user