overleaf/services/clsi/entrypoint.sh

14 lines
284 B
Bash
Raw Normal View History

2018-03-06 05:59:40 -05:00
#!/bin/sh
echo "Changing permissions of /var/run/docker.sock for sibling containers"
2018-03-16 13:10:56 -04:00
2018-03-06 05:59:40 -05:00
chown root:docker /var/run/docker.sock
mkdir -p /app/cache
chown -R app:app /app/cache
mkdir -p /app/compiles
chown -R app:app /app/compiles
2018-03-16 13:10:56 -04:00
./bin/install_texlive_gce.sh
2018-03-06 05:59:40 -05:00
exec runuser -u app "$@"