Explorar o código

install gs correctly

Henry Oswald %!s(int64=8) %!d(string=hai) anos
pai
achega
b45e2a922c
Modificáronse 2 ficheiros con 3 adicións e 2 borrados
  1. 1 1
      services/filestore/Dockerfile
  2. 2 1
      services/filestore/install_deps.sh

+ 1 - 1
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"]

+ 2 - 1
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