mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
4c96abd6c5
updated build scripts acceptence tests break, files are written as root when user is node
22 lines
No EOL
479 B
Bash
Executable file
22 lines
No EOL
479 B
Bash
Executable file
#!/bin/sh
|
|
|
|
echo "Changing permissions of /var/run/docker.sock for sibling containers"
|
|
ls -al /var/run/docker.sock
|
|
docker --version
|
|
cat /etc/passwd
|
|
usermod -aG docker node
|
|
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
|
|
|
|
chown -R node:node /app/bin/synctex
|
|
mkdir -p /app/test/acceptance/fixtures/tmp/
|
|
chown -R node:node /app
|
|
|
|
|
|
./bin/install_texlive_gce.sh
|
|
exec runuser -u node "$@" |