Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ RUN apk --no-cache add \
tcl-dev \
tiff-dev \
tk-dev \
wget \

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

List it under # wget dependency or # dev depenencies?

zlib-dev

COPY depends /depends
Expand Down
11 changes: 10 additions & 1 deletion amazon-2-amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ RUN yum install -y \
gcc-c++ \
ghostscript \
git \
gnutls-devel \
harfbuzz-devel \
lcms2-devel \
libjpeg-devel \
Expand All @@ -36,6 +37,14 @@ ENV PATH="/root/.cargo/bin:${PATH}"

RUN useradd --uid 1001 pillow

RUN wget --no-verbose https://ftp.gnu.org/gnu/wget/wget-1.25.0.tar.gz \
&& tar xzf wget-1.25.0.tar.gz \
&& cd wget-1.25.0 \
&& ./configure \
&& make install \
&& cd .. \
&& rm -r wget-1.25.0 wget-1.25.0.tar.gz

COPY depends /depends
RUN cd /depends \
&& ./install_imagequant.sh
Expand Down Expand Up @@ -66,7 +75,7 @@ RUN wget --no-verbose https://github.com/ninja-build/ninja/releases/download/v1.
&& unzip ninja-linux.zip \
&& mv ninja /usr/bin
RUN python3.10 -m pip install --no-cache-dir meson
RUN ln -s /usr/local/bin/python3.10 /usr/bin/python3
RUN ln -sf /usr/local/bin/python3.10 /usr/bin/python3
RUN cd /depends \
&& ./install_openjpeg.sh \
&& ./download-and-extract.sh freetype-2.14.1 https://raw.githubusercontent.com/python-pillow/pillow-depends/main/freetype-2.14.1.tar.gz \
Expand Down
Loading