From e8b9bafda8cdd17135ffc752aa19aac38e1fbfef Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Mon, 16 Feb 2026 12:05:34 +0200 Subject: [PATCH] Add colour to CI logs for readability --- alpine/Dockerfile | 2 ++ amazon-2-amd64/Dockerfile | 2 ++ amazon-2023-amd64/Dockerfile | 2 ++ arch/Dockerfile | 2 ++ centos-stream-10-amd64/Dockerfile | 2 ++ centos-stream-9-amd64/Dockerfile | 2 ++ debian-12-bookworm-amd64/Dockerfile | 2 ++ debian-12-bookworm-x86/Dockerfile | 2 ++ debian-13-trixie-amd64/Dockerfile | 2 ++ debian-13-trixie-x86/Dockerfile | 2 ++ fedora-42-amd64/Dockerfile | 2 ++ fedora-43-amd64/Dockerfile | 2 ++ gentoo/Dockerfile | 2 ++ manylinux2014-wheel-build/Dockerfile | 1 + manylinux_2_28-wheel-build/Dockerfile | 1 + ubuntu-22.04-jammy-amd64-valgrind/Dockerfile | 2 ++ ubuntu-22.04-jammy-amd64/Dockerfile | 2 ++ ubuntu-24.04-noble-amd64/Dockerfile | 2 ++ ubuntu-24.04-noble-arm64v8/Dockerfile | 2 ++ ubuntu-24.04-noble-ppc64le/Dockerfile | 2 ++ ubuntu-24.04-noble-s390x/Dockerfile | 2 ++ 21 files changed, 40 insertions(+) diff --git a/alpine/Dockerfile b/alpine/Dockerfile index ff383154..8b6da259 100644 --- a/alpine/Dockerfile +++ b/alpine/Dockerfile @@ -50,6 +50,8 @@ RUN /usr/sbin/adduser -D --uid 1001 pillow \ && /vpy3/bin/pip install numpy --only-binary=:all: || true \ && chown -R pillow:pillow /vpy3 +ENV FORCE_COLOR=1 + USER pillow CMD ["depends/test.sh"] diff --git a/amazon-2-amd64/Dockerfile b/amazon-2-amd64/Dockerfile index 040ee801..9f9d3033 100644 --- a/amazon-2-amd64/Dockerfile +++ b/amazon-2-amd64/Dockerfile @@ -73,6 +73,8 @@ RUN cd /depends \ && ./install_raqm.sh \ && ./install_webp.sh +ENV FORCE_COLOR=1 + USER pillow CMD ["depends/test.sh"] diff --git a/amazon-2023-amd64/Dockerfile b/amazon-2023-amd64/Dockerfile index ab4f8aa9..e127bac3 100644 --- a/amazon-2023-amd64/Dockerfile +++ b/amazon-2023-amd64/Dockerfile @@ -60,6 +60,8 @@ RUN cd /depends \ && ./install_raqm.sh \ && ./install_webp.sh +ENV FORCE_COLOR=1 + USER pillow CMD ["depends/test.sh"] diff --git a/arch/Dockerfile b/arch/Dockerfile index 7b944615..67fda4ac 100644 --- a/arch/Dockerfile +++ b/arch/Dockerfile @@ -51,6 +51,8 @@ RUN /sbin/useradd -m -U --uid 1001 pillow \ && /vpy3/bin/pip install numpy --only-binary=:all: || true \ && chown -R pillow:pillow /vpy3 +ENV FORCE_COLOR=1 + USER pillow CMD ["depends/test.sh"] diff --git a/centos-stream-10-amd64/Dockerfile b/centos-stream-10-amd64/Dockerfile index 2fae5e25..727f043b 100644 --- a/centos-stream-10-amd64/Dockerfile +++ b/centos-stream-10-amd64/Dockerfile @@ -52,6 +52,8 @@ RUN cd /depends \ && ./install_raqm.sh \ && ldconfig +ENV FORCE_COLOR=1 + USER pillow CMD ["depends/test.sh"] diff --git a/centos-stream-9-amd64/Dockerfile b/centos-stream-9-amd64/Dockerfile index de981716..5a6ed4c6 100644 --- a/centos-stream-9-amd64/Dockerfile +++ b/centos-stream-9-amd64/Dockerfile @@ -61,6 +61,8 @@ RUN cd /depends \ && ./install_raqm.sh \ && ldconfig +ENV FORCE_COLOR=1 + USER pillow CMD ["depends/test.sh"] diff --git a/debian-12-bookworm-amd64/Dockerfile b/debian-12-bookworm-amd64/Dockerfile index 8660416b..ad84b732 100644 --- a/debian-12-bookworm-amd64/Dockerfile +++ b/debian-12-bookworm-amd64/Dockerfile @@ -80,6 +80,8 @@ RUN virtualenv -p /usr/bin/python3.11 --system-site-packages /vpy3 \ ADD depends /depends RUN cd /depends && ./install_imagequant.sh && ./install_libavif.sh && ./install_raqm.sh +ENV FORCE_COLOR=1 + USER pillow CMD ["depends/test.sh"] diff --git a/debian-12-bookworm-x86/Dockerfile b/debian-12-bookworm-x86/Dockerfile index 3006de1b..03d48aa4 100644 --- a/debian-12-bookworm-x86/Dockerfile +++ b/debian-12-bookworm-x86/Dockerfile @@ -80,6 +80,8 @@ RUN virtualenv -p /usr/bin/python3.11 --system-site-packages /vpy3 \ ADD depends /depends RUN cd /depends && ./install_imagequant.sh && ./install_libavif.sh && ./install_raqm.sh +ENV FORCE_COLOR=1 + USER pillow ENTRYPOINT ["linux32"] CMD ["depends/test.sh"] diff --git a/debian-13-trixie-amd64/Dockerfile b/debian-13-trixie-amd64/Dockerfile index 003557fa..40c8e1ce 100644 --- a/debian-13-trixie-amd64/Dockerfile +++ b/debian-13-trixie-amd64/Dockerfile @@ -80,6 +80,8 @@ RUN virtualenv -p /usr/bin/python3.13 --system-site-packages /vpy3 \ ADD depends /depends RUN cd /depends && ./install_imagequant.sh && ./install_libavif.sh && ./install_raqm.sh +ENV FORCE_COLOR=1 + USER pillow CMD ["depends/test.sh"] diff --git a/debian-13-trixie-x86/Dockerfile b/debian-13-trixie-x86/Dockerfile index 6be6b3ce..496a78ff 100644 --- a/debian-13-trixie-x86/Dockerfile +++ b/debian-13-trixie-x86/Dockerfile @@ -80,6 +80,8 @@ RUN virtualenv -p /usr/bin/python3.13 --system-site-packages /vpy3 \ ADD depends /depends RUN cd /depends && ./install_imagequant.sh && ./install_libavif.sh && ./install_raqm.sh +ENV FORCE_COLOR=1 + USER pillow ENTRYPOINT ["linux32"] CMD ["depends/test.sh"] diff --git a/fedora-42-amd64/Dockerfile b/fedora-42-amd64/Dockerfile index 3f695e24..c069c327 100644 --- a/fedora-42-amd64/Dockerfile +++ b/fedora-42-amd64/Dockerfile @@ -40,6 +40,8 @@ RUN virtualenv -p /usr/bin/python3.13 --system-site-packages /vpy3 \ ADD depends /depends +ENV FORCE_COLOR=1 + USER pillow CMD ["depends/test.sh"] diff --git a/fedora-43-amd64/Dockerfile b/fedora-43-amd64/Dockerfile index 22ae85a2..b5c68e93 100644 --- a/fedora-43-amd64/Dockerfile +++ b/fedora-43-amd64/Dockerfile @@ -40,6 +40,8 @@ RUN virtualenv -p /usr/bin/python3.14 --system-site-packages /vpy3 \ ADD depends /depends +ENV FORCE_COLOR=1 + USER pillow CMD ["depends/test.sh"] diff --git a/gentoo/Dockerfile b/gentoo/Dockerfile index 9763c4b9..e7f052e9 100644 --- a/gentoo/Dockerfile +++ b/gentoo/Dockerfile @@ -41,6 +41,8 @@ RUN virtualenv --system-site-packages /vpy3 \ ADD depends /depends RUN cd /depends && ./install_imagequant.sh && ./install_libavif.sh && ./install_raqm.sh && ldconfig +ENV FORCE_COLOR=1 + USER pillow CMD ["depends/test.sh"] diff --git a/manylinux2014-wheel-build/Dockerfile b/manylinux2014-wheel-build/Dockerfile index a5f7c340..70d6651a 100644 --- a/manylinux2014-wheel-build/Dockerfile +++ b/manylinux2014-wheel-build/Dockerfile @@ -15,5 +15,6 @@ COPY --from=0 /usr/local/lib /usr/local/lib COPY --from=0 /usr/local/include /usr/local/include RUN yum install -y zlib-devel COPY build.sh /build.sh +ENV FORCE_COLOR=1 CMD ["/bin/sh /build.sh"] diff --git a/manylinux_2_28-wheel-build/Dockerfile b/manylinux_2_28-wheel-build/Dockerfile index ccf44112..7493c8d4 100644 --- a/manylinux_2_28-wheel-build/Dockerfile +++ b/manylinux_2_28-wheel-build/Dockerfile @@ -15,5 +15,6 @@ COPY --from=0 /usr/local/lib /usr/local/lib COPY --from=0 /usr/local/include /usr/local/include RUN yum install -y zlib-devel COPY build.sh /build.sh +ENV FORCE_COLOR=1 CMD ["/bin/sh /build.sh"] diff --git a/ubuntu-22.04-jammy-amd64-valgrind/Dockerfile b/ubuntu-22.04-jammy-amd64-valgrind/Dockerfile index 7740144a..426d4c48 100644 --- a/ubuntu-22.04-jammy-amd64-valgrind/Dockerfile +++ b/ubuntu-22.04-jammy-amd64-valgrind/Dockerfile @@ -52,6 +52,8 @@ RUN cd /depends \ COPY python.supp /depends +ENV FORCE_COLOR=1 + USER pillow CMD ["depends/test.sh"] diff --git a/ubuntu-22.04-jammy-amd64/Dockerfile b/ubuntu-22.04-jammy-amd64/Dockerfile index e8924204..ee2f1717 100644 --- a/ubuntu-22.04-jammy-amd64/Dockerfile +++ b/ubuntu-22.04-jammy-amd64/Dockerfile @@ -57,6 +57,8 @@ RUN cd /depends \ && ./install_libavif.sh \ && ./install_raqm.sh +ENV FORCE_COLOR=1 + USER pillow CMD ["depends/test.sh"] diff --git a/ubuntu-24.04-noble-amd64/Dockerfile b/ubuntu-24.04-noble-amd64/Dockerfile index 2d32fa35..2b31de57 100644 --- a/ubuntu-24.04-noble-amd64/Dockerfile +++ b/ubuntu-24.04-noble-amd64/Dockerfile @@ -56,6 +56,8 @@ ADD depends /depends RUN cd /depends \ && ./install_raqm.sh +ENV FORCE_COLOR=1 + USER pillow CMD ["depends/test.sh"] diff --git a/ubuntu-24.04-noble-arm64v8/Dockerfile b/ubuntu-24.04-noble-arm64v8/Dockerfile index 1f93ab49..3ea05117 100644 --- a/ubuntu-24.04-noble-arm64v8/Dockerfile +++ b/ubuntu-24.04-noble-arm64v8/Dockerfile @@ -56,6 +56,8 @@ ADD depends /depends RUN cd /depends \ && ./install_raqm.sh +ENV FORCE_COLOR=1 + USER pillow CMD ["depends/test.sh"] diff --git a/ubuntu-24.04-noble-ppc64le/Dockerfile b/ubuntu-24.04-noble-ppc64le/Dockerfile index 63b8e167..8437ba00 100644 --- a/ubuntu-24.04-noble-ppc64le/Dockerfile +++ b/ubuntu-24.04-noble-ppc64le/Dockerfile @@ -46,6 +46,8 @@ ADD depends /depends RUN cd /depends \ && ./install_raqm.sh +ENV FORCE_COLOR=1 + USER pillow CMD ["depends/test.sh"] diff --git a/ubuntu-24.04-noble-s390x/Dockerfile b/ubuntu-24.04-noble-s390x/Dockerfile index a3ffbc1a..2b08e38c 100644 --- a/ubuntu-24.04-noble-s390x/Dockerfile +++ b/ubuntu-24.04-noble-s390x/Dockerfile @@ -45,6 +45,8 @@ RUN cd /depends \ && ./install_raqm.sh \ && ./install_webp.sh +ENV FORCE_COLOR=1 + USER pillow CMD ["depends/test.sh"]