avoid problems with caching of apt-get operations

This commit is contained in:
Brian Gough 2018-12-06 08:19:39 +00:00
parent fdc5370f94
commit 28271655e1

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