From bde294b8c2bc1b6aba0785216ffb1f40f7646c2e 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 --- services/clsi/bin/install_texlive_gce.sh | 1 + services/clsi/install_deps.sh | 8 ++++++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/services/clsi/bin/install_texlive_gce.sh b/services/clsi/bin/install_texlive_gce.sh index 20d2ca07f7..2ea5f99b3a 100755 --- a/services/clsi/bin/install_texlive_gce.sh +++ b/services/clsi/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/services/clsi/install_deps.sh b/services/clsi/install_deps.sh index 76aaf090be..e1f3ce4671 100755 --- a/services/clsi/install_deps.sh +++ b/services/clsi/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