Add libjpeg as dependency to dockerfile, is needed by WeasyPrint > Pillow

This commit is contained in:
encrypt 2022-11-18 20:41:32 +01:00
parent ced93b0f69
commit 593b20b0da

View file

@ -3,7 +3,7 @@ FROM debian:buster
EXPOSE 2244 EXPOSE 2244
ENV DEBIAN_FRONTEND=noninteractive ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get -y update RUN apt-get -y update
RUN apt-get -y install git python3-dev python3-venv python3-pip libcairo-dev libpango1.0-dev locales RUN apt-get -y install git python3-dev python3-venv python3-pip libcairo-dev libpango1.0-dev libjpeg-dev locales
RUN sed -i -e 's/# fr_FR.UTF-8 UTF-8/fr_FR.UTF-8 UTF-8/' /etc/locale.gen && \ RUN sed -i -e 's/# fr_FR.UTF-8 UTF-8/fr_FR.UTF-8 UTF-8/' /etc/locale.gen && \
dpkg-reconfigure --frontend=noninteractive locales && \ dpkg-reconfigure --frontend=noninteractive locales && \