Procházet zdrojové kódy

Merge pull request #38 from sharelatex/bg-fix-dockerfile-apt-get

avoid problems with caching of apt-get operations
Brian Gough před 7 roky
rodič
revize
32e9d6c279
1 změnil soubory, kde provedl 1 přidání a 2 odebrání
  1. 1 2
      services/filestore/Dockerfile

+ 1 - 2
services/filestore/Dockerfile

@@ -1,5 +1,4 @@
 FROM node:6.9.5
 FROM node:6.9.5
 
 
-RUN apt-get update
 # we also need imagemagick but it is already in the node docker image
 # we also need imagemagick but it is already in the node docker image
-RUN apt-get install -y --no-install-recommends ghostscript optipng
+RUN apt-get update && apt-get install -y --no-install-recommends ghostscript optipng