Public | Automated Build

Last pushed: 3 months ago
Short Description
Build a mozjpeg (version 3.2) Debian package for Ubuntu/Debian/variants.
Full Description

mozjpeg Dockerfile

Produces a working mozjpeg binary deb distribution, suitable for Ubuntu (tested under 16.04LTS) and possibly Debian/variants.

Docker image uses Ubuntu 16.04LTS as the base, deb package is produced using checkinstall.

The resulting binaries/libs are installed to /opt/mozjpeg/ (as not to clash with libjpeg-turbo* packages) - but you could always change make options or symlink things.

Image has also been pushed to Docker Hub.

Not sure what mozjpeg is?


With Docker already installed and working on host system:

$ ./
# waiting... as Docker builds image

# or alternatively to ./
# $ docker pull magnetikonline/mozjpegdeb

$ ./
# package extract from container

$ ls -l
-rw-r--r-- 1 root root 430092 Mar 21 01:11 mozjpeg_3.3.1-1_amd64.deb

$ sudo dpkg -i
# installing package to host system...

$ /opt/mozjpeg/bin/jpegtran -v -version
mozjpeg version 3.3.1 (build 20180320)
Copyright (C) 2009-2017 D. R. Commander
Copyright (C) 2011-2016 Siarhei Siamashka
Copyright (C) 2015-2016 Matthieu Darbois
Copyright (C) 2015 Google, Inc.
Copyright (C) 2014 Mozilla Corporation
Copyright (C) 2013-2014 MIPS Technologies, Inc.
Copyright (C) 2013 Linaro Limited
Copyright (C) 2009-2011 Nokia Corporation and/or its subsidiary(-ies)
Copyright (C) 2009 Pierre Ossman for Cendio AB
Copyright (C) 1999-2006 MIYASAKA Masaru
Copyright (C) 1991-2016 Thomas G. Lane, Guido Vollbeding

Emulating The Independent JPEG Group's software, version 6b  27-Mar-1998

mozjpeg version 3.3.1 (build 20180320)


Docker Pull Command
Source Repository