chown synctex and add the creation of directories in

This commit is contained in:
Henry Oswald 2018-03-16 17:48:55 +00:00
parent 3b2deaecf7
commit bde294b8c2
2 changed files with 7 additions and 2 deletions

View file

@ -8,6 +8,7 @@ if [ -z "$ACCESS_TOKEN" ]; then
fi
docker login -u '_token' -p $ACCESS_TOKEN https://gcr.io
docker pull --all-tags gcr.io/henry-terraform-admin/texlive-full #TODO NEED TO MAKE THIS AN ENV VAR
cp /app/bin/synctex /app/bin/synctex-mount/synctex
echo "Finished downloading texlive-full images"

View file

@ -4,6 +4,10 @@ apt-get install poppler-utils vim ghostscript --yes
npm rebuild
usermod -aG docker app
mkdir /app/bin/synctex-mount
cp /app/bin/synctex /app/bin/synctex-mount/synctex
mkdir -p /app/cache
chown -R app:app /app/cache
mkdir -p /app/compiles
chown -R app:app /app/compiles
chown -R app:app /app/bin/synctex