Docker image with up-to-date libvips
8.6K
Find out more on GitHub: https://github.com/Eworkssk/docker-pdf
Minimal Ubuntu-based Docker image with libvips compiled from source for headless/server use. Runs continuously, always ready to process — clients run commands without cold-start overhead using docker exec.
libvips compiled from the latest release with a wide set of format support libraries:
| Format / Feature | Library |
|---|---|
| JPEG | libjpeg-turbo |
| JPEG XL | libjxl |
| WebP | libwebp |
| PNG | libpng + zlib |
| TIFF | libtiff |
| HEIF / AVIF | libheif + plugins |
| OpenEXR | libopenexr |
| OpenJPEG | libopenjp2 |
| SVG / PDF render | librsvg, libpoppler |
| GIF | libcgif |
| ImageMagick | libmagickcore |
| Colour management | liblcms2 |
| Image quantization | libimagequant |
| FITS | libcfitsio |
| OpenSlide | libopenslide |
| MATLAB | libmatio |
| FFT | libfftw3 |
eworkssk/vipsghcr.io/eworkssk/vips| Tag | Description |
|---|---|
latest | Latest build |
8.18 | Latest build of the 8.18.x line |
8.18.2-47 | libvips 8.18.2, build #47 |
Tags are examples — see Docker Hub or GitHub Packages for current tags.
# Start the container
docker run -d --name vips eworkssk/vips:latest
# Check vips version
docker exec vips vips --version
# Convert image to WebP
docker exec vips vips copy /data/input.jpg /data/output.webp
# Resize image
docker exec vips vips thumbnail /data/input.jpg /data/thumb.jpg 300
# Open a shell
docker exec -it vips bash
services:
vips:
image: eworkssk/vips:latest
volumes:
- ./files:/data
restart: unless-stopped
docker run -d --name vips -v /your/files:/data eworkssk/vips:latest
docker exec vips vips copy /data/input.jpg /data/output.webp
Mount a directory with your font files into /usr/local/share/fonts/custom — the font cache is rebuilt automatically on every container start.
docker run -d --name vips \
-v /your/fonts:/usr/local/share/fonts/custom:ro \
eworkssk/vips:latest
The :ro flag mounts fonts read-only. With Docker Compose:
services:
vips:
image: eworkssk/vips:latest
volumes:
- ./files:/data
- ./fonts:/usr/local/share/fonts/custom:ro
restart: unless-stopped
Images are built for linux/amd64 and linux/arm64 — works on standard x86-64 machines, ARM-based Linux servers, Apple Silicon, and Raspberry Pi.
Images are updated automatically every Tuesday at 03:00 UTC, always pulling the latest libvips release and Ubuntu security patches.
Build tags use the format {vips_version}-{build_number} (e.g. 8.18.2-47).
We are building custom web and mobile apps for 20+ years. Check out our website for more.
This image runs in our own stack, which is why we keep it maintained. Issues and PRs are welcome and appreciated.
Content type
Image
Digest
sha256:c4ac4f885…
Size
292.7 MB
Last updated
2 months ago
docker pull eworkssk/vips