Explorar o código

run as app user and chmod 777 compiles dir

Henry Oswald %!s(int64=8) %!d(string=hai) anos
pai
achega
edf0125c2f
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      services/clsi/entrypoint.sh

+ 2 - 1
services/clsi/entrypoint.sh

@@ -9,6 +9,7 @@ chown -R app:app /app/cache
 
 mkdir -p /app/compiles
 chown -R app:app /app/compiles
+chmod -R 777 /app/compiles #TODO why do I need this?
 
 ./bin/install_texlive_gce.sh
-exec "$@"
+exec runuser -u app "$@"