rdeepak2002 / reddit-place-script-2022

Script to draw an image onto r/place (https://www.reddit.com/r/place/)
910 stars 349 forks source link

Add required dependencies in order to build Pillow in Dockerfile #419

Closed ehenrik closed 2 years ago

ehenrik commented 2 years ago

Was unable to build the Dockerfile. Ran in to issues building Pillow specified in requirements.txt. Seems like it required some additional dependencies for Alpine. All the image related dependencies were copied from Pillow's official documentation (https://pillow.readthedocs.io/en/stable/installation.html#building-on-linux).

Then there were some general build-tools missing as well.

Huskydog9988 commented 2 years ago

I got away with only adding:

RUN apk add build-base py-pip jpeg-dev zlib-dev
ENV LIBRARY_PATH=/lib:/usr/lib