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

avoid problems with caching of apt-get operations
This commit is contained in:
Brian Gough 2018-12-06 09:43:57 +00:00 committed by GitHub
commit 32e9d6c279

View file

@ -1,5 +1,4 @@
FROM node:6.9.5
RUN apt-get update
# 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