File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed
Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ RUN apk --no-cache add \
2121 py3-pip \
2222 py3-virtualenv \
2323 sudo \
24+ wget \
2425 # Pillow dependencies
2526 freetype-dev \
2627 fribidi-dev \
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ RUN yum install -y \
1010 gcc-c++ \
1111 ghostscript \
1212 git \
13+ gnutls-devel \
1314 harfbuzz-devel \
1415 lcms2-devel \
1516 libjpeg-devel \
@@ -36,6 +37,14 @@ ENV PATH="/root/.cargo/bin:${PATH}"
3637
3738RUN useradd --uid 1001 pillow
3839
40+ RUN wget --no-verbose https://ftp.gnu.org/gnu/wget/wget-1.25.0.tar.gz \
41+ && tar xzf wget-1.25.0.tar.gz \
42+ && cd wget-1.25.0 \
43+ && ./configure \
44+ && make install \
45+ && cd .. \
46+ && rm -r wget-1.25.0 wget-1.25.0.tar.gz
47+
3948COPY depends /depends
4049RUN cd /depends \
4150 && ./install_imagequant.sh
@@ -66,7 +75,7 @@ RUN wget --no-verbose https://github.com/ninja-build/ninja/releases/download/v1.
6675 && unzip ninja-linux.zip \
6776 && mv ninja /usr/bin
6877RUN python3.10 -m pip install --no-cache-dir meson
69- RUN ln -s /usr/local/bin/python3.10 /usr/bin/python3
78+ RUN ln -sf /usr/local/bin/python3.10 /usr/bin/python3
7079RUN cd /depends \
7180 && ./install_openjpeg.sh \
7281 && ./download-and-extract.sh freetype-2.14.1 https://raw.githubusercontent.com/python-pillow/pillow-depends/main/freetype-2.14.1.tar.gz \
You can’t perform that action at this time.
0 commit comments