grep works with command

updated build scripts
acceptence tests break, files are written as root when user is node
This commit is contained in:
Henry Oswald
2018-03-29 13:07:55 +01:00
parent b5a7eabaab
commit b330ee2d5b
10 changed files with 47 additions and 32 deletions

View File

@@ -1,7 +1,10 @@
#!/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
@@ -10,7 +13,10 @@ 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
echo "HELOOOo"
echo "$@"
exec runuser -u node "$@"