├── README.md └── Dockerfile /README.md: -------------------------------------------------------------------------------- 1 | # [Dockerfile](https://registry.hub.docker.com/u/marcbachmann/libvips/) for libvips 2 | 3 | Installs libvips on Ubuntu 14.04 as base image. 4 | 5 | 6 | ## Supported tags 7 | 8 | - [`7.40`](https://github.com/marcbachmann/dockerfile-libvips/tree/master) 9 | - [`7.42`](https://github.com/marcbachmann/dockerfile-libvips/tree/7.42.3) 10 | - [`8.0.2`](https://github.com/marcbachmann/dockerfile-libvips/tree/8.0.2) 11 | - [`8.1.0`](https://github.com/marcbachmann/dockerfile-libvips/tree/8.1.0) 12 | - [`8.2.3`](https://github.com/marcbachmann/dockerfile-libvips/tree/8.2.3) 13 | - [`8.4.1`, `latest`](https://github.com/marcbachmann/dockerfile-libvips/tree/8.4.1) 14 | 15 | ## How to use 16 | 17 | Download the image using: 18 | 19 | ```bash 20 | $ docker pull marcbachmann/libvips 21 | # .... pulling down image 22 | ``` 23 | 24 | 25 | ## License 26 | 27 | Licensed under [MIT](http://opensource.org/licenses/mit-license.html) 28 | -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ubuntu:14.04 2 | MAINTAINER Marc Bachmann 3 | 4 | ENV LIBVIPS_VERSION_MAJOR 8 5 | ENV LIBVIPS_VERSION_MINOR 4 6 | ENV LIBVIPS_VERSION_PATCH 1 7 | ENV LIBVIPS_VERSION $LIBVIPS_VERSION_MAJOR.$LIBVIPS_VERSION_MINOR.$LIBVIPS_VERSION_PATCH 8 | 9 | RUN \ 10 | 11 | # Install dependencies 12 | apt-get update && \ 13 | DEBIAN_FRONTEND=noninteractive apt-get install -y \ 14 | automake build-essential curl \ 15 | gobject-introspection gtk-doc-tools libglib2.0-dev libjpeg-turbo8-dev libpng12-dev \ 16 | libwebp-dev libtiff5-dev libgif-dev libexif-dev libxml2-dev libpoppler-glib-dev \ 17 | swig libmagickwand-dev libpango1.0-dev libmatio-dev libopenslide-dev libcfitsio3-dev \ 18 | libgsf-1-dev fftw3-dev liborc-0.4-dev librsvg2-dev && \ 19 | 20 | # Build libvips 21 | cd /tmp && \ 22 | curl -O http://www.vips.ecs.soton.ac.uk/supported/$LIBVIPS_VERSION_MAJOR.$LIBVIPS_VERSION_MINOR/vips-$LIBVIPS_VERSION.tar.gz && \ 23 | tar zvxf vips-$LIBVIPS_VERSION.tar.gz && \ 24 | cd /tmp/vips-$LIBVIPS_VERSION && \ 25 | ./configure --enable-debug=no --without-python $1 && \ 26 | make && \ 27 | make install && \ 28 | ldconfig && \ 29 | 30 | # Clean up 31 | apt-get remove -y curl automake build-essential && \ 32 | apt-get autoremove -y && \ 33 | apt-get autoclean && \ 34 | apt-get clean && \ 35 | rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* 36 | --------------------------------------------------------------------------------