overleaf/services/clsi/entrypoint.sh
2018-03-19 14:10:45 +00:00

14 lines
No EOL
289 B
Bash
Executable file

#!/bin/sh
echo "Changing permissions of /var/run/docker.sock for sibling containers"
chown root:docker /var/run/docker.sock
mkdir -p /app/cache
chown -R node:node /app/cache
mkdir -p /app/compiles
chown -R node:node /app/compiles
./bin/install_texlive_gce.sh
exec runuser -u node "$@"