Sign inSign up

bubba/vips-docker-image

By bubba

Updated over 10 years ago

Ubuntu 15.04 image with ghostscript, xpdf, libvips, python, and php.

Image
1

1.3K

bubba/vips-docker-image repository overview

Overview

A base Ubuntu 15.04 with a number of image manipulation libraries. This image was particularly built to run in Iron.io's IronWorker framework, allowing for mass parallel of processing of image data.

Requirments

You are going to need Docker installed. You can find a variety of installation instructions, per operating system, in the Docker Installation Docs. If you haven't used Docker before, take a moment and look through the Docker User Guide.

Pull The Docker Repository

docker pull bubba/vips-docker-image

In the Image

LibraryVersions
Python2.7.9
PHP5.6.4
vips8.0.2
pdfinfo0.30.0
ghostscript9.15
Build Notes

Vips 8.0.2 was built in the image and all other libraries were installed via the apt-get package manager. There are also a handful of PHP and Python libraries/modules installed as well, please see the Dockerfile for more details.

Command Line Usage

Assuming you have a directory /tmp/docktest that contians an image /tmp/docktest/bbq.jpg and you want to use this contianer to convert the image to thumbnail, you might run this command:

docker run -ti --rm -v /tmp/docktest:/mnt/vips -w /mnt/vips bubba/vips-docker-image vipsthumbnail bbq.jpg --size 200x100

and discover /tmp/docktest/tn_bb1.jpg has been created.

Tag summary

Content type

Image

Digest

sha256:2b3cce16d

Size

389.8 MB

Last updated

over 10 years ago

docker pull bubba/vips-docker-image