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
9 changes: 6 additions & 3 deletions alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,14 @@ RUN cd /depends \
&& ./install_imagequant.sh \
&& ./install_raqm.sh

ARG PIP_DISABLE_PIP_VERSION_CHECK=1
ARG PIP_NO_CACHE_DIR=1

RUN /usr/sbin/adduser -D --uid 1001 pillow \
&& virtualenv /vpy3 \
&& /vpy3/bin/pip install --no-cache-dir --upgrade pip \
&& /vpy3/bin/pip install --no-cache-dir olefile pytest pytest-cov pytest-timeout \
&& /vpy3/bin/pip install --no-cache-dir numpy --only-binary=:all: || true \
&& /vpy3/bin/pip install --upgrade pip \
&& /vpy3/bin/pip install olefile pytest pytest-cov pytest-timeout \
&& /vpy3/bin/pip install numpy --only-binary=:all: || true \
&& chown -R pillow:pillow /vpy3

USER pillow
Expand Down
9 changes: 6 additions & 3 deletions amazon-2-amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,14 @@ RUN wget https://www.python.org/ftp/python/3.9.16/Python-3.9.16.tgz \
&& cd .. \
&& rm -r Python-3.9.16 Python-3.9.16.tgz

ARG PIP_DISABLE_PIP_VERSION_CHECK=1
ARG PIP_NO_CACHE_DIR=1

RUN bash -c "python3.9 -m pip install virtualenv \
&& python3.9 -m virtualenv --system-site-packages /vpy3 \
&& /vpy3/bin/pip install --no-cache-dir --upgrade pip \
&& /vpy3/bin/pip install --no-cache-dir cffi olefile pytest pytest-cov pytest-timeout \
&& /vpy3/bin/pip install --no-cache-dir numpy --only-binary=:all: || true \
&& /vpy3/bin/pip install --upgrade pip \
&& /vpy3/bin/pip install cffi olefile pytest pytest-cov pytest-timeout \
&& /vpy3/bin/pip install numpy --only-binary=:all: || true \
&& chown -R pillow:pillow /vpy3"

ADD depends /depends
Expand Down
9 changes: 6 additions & 3 deletions amazon-2023-amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,14 @@ ENV PATH="/root/.cargo/bin:${PATH}"

RUN useradd --uid 1001 pillow

ARG PIP_DISABLE_PIP_VERSION_CHECK=1
ARG PIP_NO_CACHE_DIR=1

RUN bash -c "/usr/bin/pip3 install virtualenv \
&& /usr/bin/python3 -mvirtualenv -p /usr/bin/python3 --system-site-packages /vpy3 \
&& /vpy3/bin/pip install --no-cache-dir --upgrade pip \
&& /vpy3/bin/pip install --no-cache-dir cffi olefile pytest pytest-cov pytest-timeout \
&& /vpy3/bin/pip install --no-cache-dir numpy --only-binary=:all: || true \
&& /vpy3/bin/pip install --upgrade pip \
&& /vpy3/bin/pip install cffi olefile pytest pytest-cov pytest-timeout \
&& /vpy3/bin/pip install numpy --only-binary=:all: || true \
&& chown -R pillow:pillow /vpy3"

ADD depends /depends
Expand Down
9 changes: 6 additions & 3 deletions arch/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,14 @@ RUN cd /depends \
&& ./install_imagequant.sh \
&& ./install_raqm.sh

ARG PIP_DISABLE_PIP_VERSION_CHECK=1
ARG PIP_NO_CACHE_DIR=1

RUN /sbin/useradd -m -U --uid 1001 pillow \
&& virtualenv --system-site-packages /vpy3 \
&& /vpy3/bin/pip install --no-cache-dir --upgrade pip \
&& /vpy3/bin/pip install --no-cache-dir cffi olefile pytest pytest-cov pytest-timeout \
&& /vpy3/bin/pip install --no-cache-dir numpy --only-binary=:all: || true \
&& /vpy3/bin/pip install --upgrade pip \
&& /vpy3/bin/pip install cffi olefile pytest pytest-cov pytest-timeout \
&& /vpy3/bin/pip install numpy --only-binary=:all: || true \
&& chown -R pillow:pillow /vpy3

USER pillow
Expand Down
9 changes: 6 additions & 3 deletions centos-stream-9-amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,14 @@ RUN yum install -y \

RUN useradd --uid 1001 pillow

ARG PIP_DISABLE_PIP_VERSION_CHECK=1
ARG PIP_NO_CACHE_DIR=1

RUN bash -c "python3.9 -m pip install virtualenv \
&& python3.9 -m virtualenv --system-site-packages /vpy3 \
&& /vpy3/bin/pip install --no-cache-dir --upgrade pip \
&& /vpy3/bin/pip install --no-cache-dir cffi olefile pytest pytest-cov pytest-timeout \
&& /vpy3/bin/pip install --no-cache-dir numpy --only-binary=:all: || true \
&& /vpy3/bin/pip install --upgrade pip \
&& /vpy3/bin/pip install cffi olefile pytest pytest-cov pytest-timeout \
&& /vpy3/bin/pip install numpy --only-binary=:all: || true \
&& chown -R pillow:pillow /vpy3"

COPY depends /depends
Expand Down
7 changes: 5 additions & 2 deletions debian-12-bookworm-amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,12 @@ RUN useradd --uid 1001 pillow \
&& mkdir /home/pillow \
&& chown pillow:pillow /home/pillow

ARG PIP_DISABLE_PIP_VERSION_CHECK=1
ARG PIP_NO_CACHE_DIR=1

RUN virtualenv -p /usr/bin/python3.11 --system-site-packages /vpy3 \
&& /vpy3/bin/pip install --no-cache-dir --upgrade pip \
&& /vpy3/bin/pip install --no-cache-dir cffi olefile pytest pytest-cov pytest-timeout \
&& /vpy3/bin/pip install --upgrade pip \
&& /vpy3/bin/pip install cffi olefile pytest pytest-cov pytest-timeout \
&& chown -R pillow:pillow /vpy3

ADD depends /depends
Expand Down
7 changes: 5 additions & 2 deletions debian-12-bookworm-x86/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,12 @@ RUN useradd -u 1001 pillow \
&& mkdir /home/pillow \
&& chown pillow:pillow /home/pillow

ARG PIP_DISABLE_PIP_VERSION_CHECK=1
ARG PIP_NO_CACHE_DIR=1

RUN virtualenv -p /usr/bin/python3.11 --system-site-packages /vpy3 \
&& /vpy3/bin/pip install --no-cache-dir --upgrade pip \
&& /vpy3/bin/pip install --no-cache-dir cffi olefile pytest pytest-cov pytest-timeout \
&& /vpy3/bin/pip install --upgrade pip \
&& /vpy3/bin/pip install cffi olefile pytest pytest-cov pytest-timeout \
&& chown -R pillow:pillow /vpy3

ADD depends /depends
Expand Down
9 changes: 6 additions & 3 deletions fedora-39-amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,13 @@ RUN dnf install -y \
RUN useradd --uid 1001 pillow \
&& chown pillow:pillow /home/pillow

ARG PIP_DISABLE_PIP_VERSION_CHECK=1
ARG PIP_NO_CACHE_DIR=1

RUN virtualenv -p /usr/bin/python3.12 --system-site-packages /vpy3 \
&& /vpy3/bin/pip install --no-cache-dir --upgrade pip \
&& /vpy3/bin/pip install --no-cache-dir cffi olefile pytest pytest-cov pytest-timeout \
&& /vpy3/bin/pip install --no-cache-dir numpy --only-binary=:all: || true \
&& /vpy3/bin/pip install --upgrade pip \
&& /vpy3/bin/pip install cffi olefile pytest pytest-cov pytest-timeout \
&& /vpy3/bin/pip install numpy --only-binary=:all: || true \
&& chown -R pillow:pillow /vpy3

ADD depends /depends
Expand Down
9 changes: 6 additions & 3 deletions fedora-40-amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,13 @@ RUN dnf install -y \
RUN useradd --uid 1001 pillow \
&& chown pillow:pillow /home/pillow

ARG PIP_DISABLE_PIP_VERSION_CHECK=1
ARG PIP_NO_CACHE_DIR=1

RUN virtualenv -p /usr/bin/python3.12 --system-site-packages /vpy3 \
&& /vpy3/bin/pip install --no-cache-dir --upgrade pip \
&& /vpy3/bin/pip install --no-cache-dir cffi olefile pytest pytest-cov pytest-timeout \
&& /vpy3/bin/pip install --no-cache-dir numpy --only-binary=:all: || true \
&& /vpy3/bin/pip install --upgrade pip \
&& /vpy3/bin/pip install cffi olefile pytest pytest-cov pytest-timeout \
&& /vpy3/bin/pip install numpy --only-binary=:all: || true \
&& chown -R pillow:pillow /vpy3

ADD depends /depends
Expand Down
7 changes: 5 additions & 2 deletions gentoo/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,12 @@ RUN emerge --quiet app-text/ghostscript-gpl dev-python/numpy
RUN useradd --uid 1001 pillow \
&& chown pillow:pillow /home/pillow

ARG PIP_DISABLE_PIP_VERSION_CHECK=1
ARG PIP_NO_CACHE_DIR=1

RUN virtualenv --system-site-packages /vpy3 \
&& /vpy3/bin/pip install --no-cache-dir --upgrade pip \
&& /vpy3/bin/pip install --no-cache-dir cffi pytest-cov pytest-timeout \
&& /vpy3/bin/pip install --upgrade pip \
&& /vpy3/bin/pip install cffi pytest-cov pytest-timeout \
&& chown -R pillow:pillow /vpy3

ADD depends /depends
Expand Down
7 changes: 5 additions & 2 deletions ubuntu-22.04-jammy-amd64-valgrind/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,12 @@ RUN useradd --uid 1001 pillow \
&& mkdir /home/pillow \
&& chown pillow:pillow /home/pillow

ARG PIP_DISABLE_PIP_VERSION_CHECK=1
ARG PIP_NO_CACHE_DIR=1

RUN virtualenv -p /usr/bin/python3.10-dbg --system-site-packages /vpy3 \
&& /vpy3/bin/pip install --no-cache-dir --upgrade pip \
&& /vpy3/bin/pip install --no-cache-dir cffi olefile pytest pytest-cov pytest-timeout pytest-valgrind \
&& /vpy3/bin/pip install --upgrade pip \
&& /vpy3/bin/pip install cffi olefile pytest pytest-cov pytest-timeout pytest-valgrind \
&& chown -R pillow:pillow /vpy3

ADD depends /depends
Expand Down
7 changes: 5 additions & 2 deletions ubuntu-22.04-jammy-amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,12 @@ RUN useradd --uid 1001 pillow \
&& mkdir /home/pillow \
&& chown pillow:pillow /home/pillow

ARG PIP_DISABLE_PIP_VERSION_CHECK=1
ARG PIP_NO_CACHE_DIR=1

RUN virtualenv -p /usr/bin/python3.10 --system-site-packages /vpy3 \
&& /vpy3/bin/pip install --no-cache-dir --upgrade pip \
&& /vpy3/bin/pip install --no-cache-dir cffi olefile pyside6 pytest pytest-cov pytest-timeout \
&& /vpy3/bin/pip install --upgrade pip \
&& /vpy3/bin/pip install cffi olefile pyside6 pytest pytest-cov pytest-timeout \
&& chown -R pillow:pillow /vpy3

ADD depends /depends
Expand Down
7 changes: 5 additions & 2 deletions ubuntu-22.04-jammy-arm64v8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,12 @@ RUN useradd --uid 1001 pillow \
&& mkdir /home/pillow \
&& chown pillow:pillow /home/pillow

ARG PIP_DISABLE_PIP_VERSION_CHECK=1
ARG PIP_NO_CACHE_DIR=1

RUN virtualenv -p /usr/bin/python3.10 --system-site-packages /vpy3 \
&& /vpy3/bin/pip install --no-cache-dir --upgrade pip \
&& /vpy3/bin/pip install --no-cache-dir cffi olefile pytest pytest-cov pytest-timeout \
&& /vpy3/bin/pip install --upgrade pip \
&& /vpy3/bin/pip install cffi olefile pytest pytest-cov pytest-timeout \
&& chown -R pillow:pillow /vpy3

ADD depends /depends
Expand Down
7 changes: 5 additions & 2 deletions ubuntu-24.04-noble-amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,12 @@ RUN useradd pillow \
&& mkdir /home/pillow \
&& chown pillow:pillow /home/pillow

ARG PIP_DISABLE_PIP_VERSION_CHECK=1
ARG PIP_NO_CACHE_DIR=1

RUN virtualenv -p /usr/bin/python3.12 --system-site-packages /vpy3 \
&& /vpy3/bin/pip install --no-cache-dir --upgrade pip \
&& /vpy3/bin/pip install --no-cache-dir cffi olefile pyside6 pytest pytest-cov pytest-timeout \
&& /vpy3/bin/pip install --upgrade pip \
&& /vpy3/bin/pip install cffi olefile pyside6 pytest pytest-cov pytest-timeout \
&& chown -R pillow:pillow /vpy3

ADD depends /depends
Expand Down
7 changes: 5 additions & 2 deletions ubuntu-24.04-noble-ppc64le/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,12 @@ RUN useradd pillow \
&& mkdir /home/pillow \
&& chown pillow:pillow /home/pillow

ARG PIP_DISABLE_PIP_VERSION_CHECK=1
ARG PIP_NO_CACHE_DIR=1

RUN virtualenv -p /usr/bin/python3.12 --system-site-packages /vpy3 \
&& /vpy3/bin/pip install --no-cache-dir --upgrade pip \
&& /vpy3/bin/pip install --no-cache-dir cffi olefile pytest pytest-cov pytest-timeout \
&& /vpy3/bin/pip install --upgrade pip \
&& /vpy3/bin/pip install cffi olefile pytest pytest-cov pytest-timeout \
&& chown -R pillow:pillow /vpy3

ADD depends /depends
Expand Down
7 changes: 5 additions & 2 deletions ubuntu-24.04-noble-s390x/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,12 @@ RUN useradd pillow \
&& mkdir /home/pillow \
&& chown pillow:pillow /home/pillow

ARG PIP_DISABLE_PIP_VERSION_CHECK=1
ARG PIP_NO_CACHE_DIR=1

RUN virtualenv -p /usr/bin/python3.12 --system-site-packages /vpy3 \
&& /vpy3/bin/pip install --no-cache-dir --upgrade pip \
&& /vpy3/bin/pip install --no-cache-dir cffi olefile pytest pytest-cov pytest-timeout \
&& /vpy3/bin/pip install --upgrade pip \
&& /vpy3/bin/pip install cffi olefile pytest pytest-cov pytest-timeout \
&& chown -R pillow:pillow /vpy3

ADD depends /depends
Expand Down