Explorar o código

add gosu explanation

Rodja Trappe hai 1 ano
pai
achega
bf269b9c4d
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      docker-entrypoint.sh

+ 1 - 0
docker-entrypoint.sh

@@ -30,4 +30,5 @@ if [ -d "/usr/local/share/fonts" ]; then
   chmod -R 777 /usr/local/share/fonts
 fi
 # Switch to appuser and execute the Docker CMD or passed in command-line arguments.
+# Using gosu let's it run as PID 1 which is required for proper signal handling.
 exec gosu appuser "$@"