thumbor-docker icon indicating copy to clipboard operation
thumbor-docker copied to clipboard

install thumbor using official requirements and add ffmpeg support

Open altendorfme opened this issue 2 years ago • 3 comments

In Slim version

  • add ffmpeg package to support conversion to webm/mp4
  • install all thumbor packages using [all] oficial tag

altendorfme avatar Aug 09 '23 15:08 altendorfme

Sorry for late reply.

This adds about 600 MB additionally to the docker image. This can't seem right:

mvhirsch/thumbor   test           04ba5c2b8b3d  2 minutes ago   845MB
mvhirsch/thumbor   7.5.2          fe34db0a65cb   5 weeks ago     212MB

Could you please check if it's either ffmpeg or thumbor[all] that adds to the size? Is there a way to reduce the build size?

mvhirsch avatar Aug 25 '23 05:08 mvhirsch

Supersedes #17

mvhirsch avatar Aug 25 '23 06:08 mvhirsch

Sorry for late reply.

This adds about 600 MB additionally to the docker image. This can't seem right:

mvhirsch/thumbor   test           04ba5c2b8b3d  2 minutes ago   845MB
mvhirsch/thumbor   7.5.2          fe34db0a65cb   5 weeks ago     212MB

Could you please check if it's either ffmpeg or thumbor[all] that adds to the size? Is there a way to reduce the build size?

I did some tests here:

thumbor-ffmpeg                   latest            11bb0222a106   2 minutes ago        659MB
thumbor-all                      latest            a65a15284232   About a minute ago   486MB
thumbor-opencv                   latest            da9d912aa654   4 seconds ago        425MB
thumbor-7.5.2                    latest            0829a90f2878   4 minutes ago        218MB

I didn't find any official packages for a minimal or light ffmpeg

altendorfme avatar Aug 25 '23 21:08 altendorfme