diff --git a/Dockerfile b/Dockerfile index f7602b950..02fd0fbc0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,12 +7,7 @@ RUN apt-get update \ libcairo2-dev \ libgif-dev \ libgsf-1-dev \ - libjpeg-progs \ libpango1.0-dev \ - libvips-dev \ - optipng \ - pngcrush \ - pngquant \ && rm -rf /var/lib/apt/lists/* ENV NPM_CONFIG_PREFIX=/home/node/.npm-global diff --git a/README.md b/README.md index eedeef2f1..8a51d387a 100644 --- a/README.md +++ b/README.md @@ -82,13 +82,13 @@ and optimization features, you need several libraries and command line utilities installed. On Ubuntu you can grab them all by running: ``` -sudo apt-get install -y libcairo2-dev libjpeg8-dev libgif-dev optipng pngcrush pngquant libpango1.0-dev graphicsmagick libjpeg-progs inkscape +sudo apt-get install -y libcairo2-dev libjpeg8-dev libgif-dev libpango1.0-dev graphicsmagick inkscape ``` Or on OS X, with [homebrew](http://brew.sh/): ``` -brew install cairo jpeg giflib optipng pngcrush pngquant pango graphicsmagick jpeg-turbo homebrew/gui/inkscape +brew install cairo giflib pango graphicsmagick jpeg-turbo homebrew/gui/inkscape brew install homebrew/science/vips --with-webp --with-graphicsmagick export PKG_CONFIG_PATH=/opt/X11/lib/pkgconfig ```