Skip to content

Commit

Permalink
Remove external dependencies on jpegtran, optipng, pngcrush and pngqu…
Browse files Browse the repository at this point in the history
…ant. Depend on binaries through npm dependencies. Refs #627
  • Loading branch information
Munter committed Feb 11, 2019
1 parent 9a59733 commit 071917d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
5 changes: 0 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand Down

0 comments on commit 071917d

Please sign in to comment.