Add Python 3 with PIL to image for image processing
All checks were successful
continuous-integration/drone/push Build is passing

Signed-off-by: Olivier <tanuki@tanukitsu.net>
This commit is contained in:
Olivier 'reivilibre' 2021-01-17 16:01:58 +00:00
parent ca7d91ebc7
commit c5df24099c

View File

@ -2,7 +2,7 @@ FROM rust:1.49.0-slim
# install needed APT packages, then clear out the cache to reduce image size bloat # install needed APT packages, then clear out the cache to reduce image size bloat
RUN apt-get -qq update && \ RUN apt-get -qq update && \
apt-get -yqq install pkg-config nodejs npm git rsync && \ apt-get -yqq install pkg-config nodejs npm git rsync python3 python3-pil && \
rm -r /var/cache/apt rm -r /var/cache/apt
# install zola from source, then remove (heavy) cargo temporaries to reduce bloat # install zola from source, then remove (heavy) cargo temporaries to reduce bloat