Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
12 changes: 9 additions & 3 deletions amazon-2-amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ RUN yum install -y \
libjpeg-devel \
libtiff-devel \
make \
openssl11-devel \
openssl-devel \
pth-devel \
shadow-utils \
sqlite-devel \
Expand All @@ -36,6 +36,14 @@ ENV PATH="/root/.cargo/bin:${PATH}"

RUN useradd --uid 1001 pillow

ADD depends /depends
RUN cd /depends \
&& ./install_imagequant.sh

RUN yum remove -y openssl-devel && \
yum install -y openssl11-devel && \
yum clean all

RUN wget https://www.python.org/ftp/python/3.10.18/Python-3.10.18.tgz \
&& tar xzf Python-3.10.18.tgz \
&& cd Python-3.10.18 \
Expand All @@ -54,14 +62,12 @@ RUN bash -c "python3.10 -m pip install virtualenv \
&& /vpy3/bin/pip install numpy --only-binary=:all: || true \
&& chown -R pillow:pillow /vpy3"

ADD depends /depends
RUN wget https://github.com/ninja-build/ninja/releases/download/v1.13.1/ninja-linux.zip \
&& unzip ninja-linux.zip \
&& mv ninja /usr/bin
RUN python3.10 -m pip install meson
RUN ln -s /usr/local/bin/python3.10 /usr/bin/python3
RUN cd /depends \
&& ./install_imagequant.sh \
&& ./install_openjpeg.sh \
&& ./install_raqm.sh \
&& ./install_webp.sh
Expand Down
3 changes: 2 additions & 1 deletion centos-stream-9-amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ RUN yum install -y \
libtiff-devel \
libwebp-devel \
make \
meson \
nasm \
ninja-build \
openjpeg2-devel \
openssl-devel \
sqlite-devel \
Expand Down Expand Up @@ -53,6 +53,7 @@ RUN bash -c "python3.10 -m pip install virtualenv \

COPY depends /depends
RUN ln -sf /usr/local/bin/python3.10 /usr/bin/python3
RUN /usr/bin/python3 -m pip install --no-cache-dir meson
RUN cd /depends \
&& ./install_imagequant.sh \
&& ./install_libavif.sh \
Expand Down