monostream / tifig

A fast HEIF image converter aimed at thumbnailing
Apache License 2.0
408 stars 50 forks source link

How to run it in Alpine ? #41

Open JulianPorras8 opened 6 years ago

JulianPorras8 commented 6 years ago

My project is running in prod environment with Alpine docker image node:8.9.4-alpine. The packages scpecified here https://github.com/monostream/tifig#linux most of them are not valid Alpine packages. Do I have to take other instructions into account?

Thanks for all, I ran it in ubuntu and worked perfectly. :+1:

Caian commented 6 years ago

Besides core development packages, you also have to install ffmpeg-dev (comes with libavcodec and libswscale), fftw-dev (required by vips) and vips itself, which require you to add edge/testing repository to apk, as described in: https://wiki.alpinelinux.org/wiki/Alpine_Linux_package_management

If you pin the testing repository, you can:

apk install vips-dev@testing

With this I managed to compile and use tifig without any issues.