Thumbor 7
I’m happy to announce the newest version of thumbor 7.0.0! It got release a while ago,
but I didn’t had time to update my docker images mvhirsch/thumber
since then. This weekend I finally spent time updating the whole image, rebuilding it
from scratch to make it even more lightweight - reducing the size nearly to half
(comparing 6-slim
(770 MB) to 7:slim
(390 MB)).
I managed to make it smaller by fixing some issues and dropping ffmpeg
from the base
image. That said, ffmpeg
isn’t needed by default, since it’s only used by the
gifv
-optimizer, which itself isn’t enabled by default.
If you want to use the thumbor.optimizer.gifv
, you can just add it yourself by
building your own docker image and activate gifv:
FROM mvhirsch/thumbor:7-slim
RUN apt-get update \
&& apt-get install --yes --quiet --no-install-recommends ffmpeg \
&& rm -rf /var/lib/apt/lists/* \
ENV OPTIMIZERS "['thumbor.optimizers.jpegtran', 'thumbor.optimizer.gifv']"
The newest versions are already available to download. Feel free to use them:
mvhirsch/thumbor:7-slim
mvhirsch/thumbor:7-alpine
mvhirsch/thumbor:7-fundamentals
As always mvhirsch/thubmor:7-fundamentals
comes pre-configured with an AWS S3 storage and pnquant and mozjpeg.
pngquant
and mozjpeg
are the recommended image optimizers for the web, reducing file size without quality loss.
If you experience any issues, don’t hesitate and raise an issue on github.