From b45e2a922c7375e183f73a10765a6fc4eb54abff Mon Sep 17 00:00:00 2001 From: Henry Oswald Date: Fri, 23 Mar 2018 17:21:15 +0000 Subject: [PATCH] install gs correctly --- services/filestore/Dockerfile | 2 +- services/filestore/install_deps.sh | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/services/filestore/Dockerfile b/services/filestore/Dockerfile index efe5879b50..c3070f5a3e 100644 --- a/services/filestore/Dockerfile +++ b/services/filestore/Dockerfile @@ -19,6 +19,6 @@ WORKDIR /app # on any files it doesn't need. RUN ./install_deps.sh -# USER node +USER node CMD ["node","app.js"] diff --git a/services/filestore/install_deps.sh b/services/filestore/install_deps.sh index 2d2632ea19..193c358628 100755 --- a/services/filestore/install_deps.sh +++ b/services/filestore/install_deps.sh @@ -3,7 +3,8 @@ apt-get update apt-get install vim imagemagick optipng --yes -wget https://s3.amazonaws.com/sl-public-dev-assets/ghostscript-9.15.tar.gz /tmp/ghostscript-9.15.tar.gz +wget https://s3.amazonaws.com/sl-public-dev-assets/ghostscript-9.15.tar.gz -O /tmp/ghostscript-9.15.tar.gz +ls -al /tmp tar -xvf /tmp/ghostscript-9.15.tar.gz cd /tmp/ghostscript-9.15 && ./configure && make && make install