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 3c1d7ab264
commit 0bd9377018
2 changed files with 7 additions and 2 deletions

View File

@@ -8,6 +8,7 @@ if [ -z "$ACCESS_TOKEN" ]; then
fi fi
docker login -u '_token' -p $ACCESS_TOKEN https://gcr.io 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 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" echo "Finished downloading texlive-full images"

View File

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