From 0bd937701802df43b294ceb129f0fffea6623abb Mon Sep 17 00:00:00 2001 From: Henry Oswald Date: Fri, 16 Mar 2018 17:48:55 +0000 Subject: [PATCH] chown synctex and add the creation of directories in --- bin/install_texlive_gce.sh | 1 + install_deps.sh | 8 ++++++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/bin/install_texlive_gce.sh b/bin/install_texlive_gce.sh index 20d2ca0..2ea5f99 100755 --- a/bin/install_texlive_gce.sh +++ b/bin/install_texlive_gce.sh @@ -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" diff --git a/install_deps.sh b/install_deps.sh index 76aaf09..e1f3ce4 100755 --- a/install_deps.sh +++ b/install_deps.sh @@ -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