-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #205 from radarhere/ubuntu24_04
- Loading branch information
Showing
37 changed files
with
212 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
FROM ubuntu:noble | ||
|
||
RUN apt-get -qq update && DEBIAN_FRONTEND=noninteractive apt-get -y install \ | ||
cmake \ | ||
ghostscript \ | ||
git \ | ||
libegl-dev \ | ||
libffi-dev \ | ||
libfreetype6-dev \ | ||
libfribidi-dev \ | ||
libharfbuzz-dev \ | ||
libimagequant-dev \ | ||
libjpeg-turbo-progs \ | ||
libjpeg8-dev \ | ||
liblcms2-dev \ | ||
libopengl-dev \ | ||
libopenjp2-7-dev \ | ||
libssl-dev \ | ||
libtiff5-dev \ | ||
libwebp-dev \ | ||
libxcb-cursor0 \ | ||
libxcb-icccm4 \ | ||
libxcb-image0 \ | ||
libxcb-keysyms1 \ | ||
libxcb-randr0 \ | ||
libxcb-render-util0 \ | ||
libxcb-shape0 \ | ||
libxkbcommon-x11-0 \ | ||
meson \ | ||
netpbm \ | ||
python3-dev \ | ||
python3-numpy \ | ||
python3-setuptools \ | ||
python3-tk \ | ||
sudo \ | ||
tcl8.6-dev \ | ||
tk8.6-dev \ | ||
virtualenv \ | ||
wget \ | ||
xvfb \ | ||
zlib1g-dev \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
RUN useradd pillow \ | ||
&& mkdir /home/pillow \ | ||
&& chown pillow:pillow /home/pillow | ||
|
||
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 \ | ||
&& chown -R pillow:pillow /vpy3 | ||
|
||
ADD depends /depends | ||
RUN cd /depends \ | ||
&& ./install_raqm.sh | ||
|
||
USER pillow | ||
CMD ["depends/test.sh"] | ||
|
||
#docker run -v $GITHUB_WORKSPACE:/Pillow pythonpillow/ubuntu-24.04-noble-amd64 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../Makefile.sub |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/bash | ||
source /vpy3/bin/activate | ||
cd /Pillow | ||
make clean | ||
make install-coverage | ||
python3 -c "from PIL import Image" | ||
/usr/bin/xvfb-run -a pytest -vx --cov PIL --cov-report term Tests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#!/bin/sh | ||
docker pull ubuntu:noble |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
FROM ppc64le/ubuntu:noble | ||
|
||
RUN apt-get -qq update && DEBIAN_FRONTEND=noninteractive apt-get -y install \ | ||
cmake \ | ||
ghostscript \ | ||
git \ | ||
libffi-dev \ | ||
libfreetype6-dev \ | ||
libfribidi-dev \ | ||
libharfbuzz-dev \ | ||
libimagequant-dev \ | ||
libjpeg-turbo-progs \ | ||
libjpeg8-dev \ | ||
liblcms2-dev \ | ||
libopenjp2-7-dev \ | ||
libssl-dev \ | ||
libtiff5-dev \ | ||
libwebp-dev \ | ||
meson \ | ||
netpbm \ | ||
python3-dev \ | ||
python3-numpy \ | ||
python3-setuptools \ | ||
python3-tk \ | ||
sudo \ | ||
tcl8.6-dev \ | ||
tk8.6-dev \ | ||
virtualenv \ | ||
wget \ | ||
xvfb \ | ||
zlib1g-dev \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
RUN useradd pillow \ | ||
&& mkdir /home/pillow \ | ||
&& chown pillow:pillow /home/pillow | ||
|
||
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 \ | ||
&& chown -R pillow:pillow /vpy3 | ||
|
||
ADD depends /depends | ||
RUN cd /depends \ | ||
&& ./install_raqm.sh | ||
|
||
USER pillow | ||
CMD ["depends/test.sh"] | ||
|
||
#docker run -v $GITHUB_WORKSPACE:/Pillow pythonpillow/ubuntu-24.04-noble-ppc64le |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../Makefile.sub |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/bash | ||
source /vpy3/bin/activate | ||
cd /Pillow | ||
make clean | ||
make install-coverage | ||
/usr/bin/xvfb-run -a pytest -vx --cov PIL --cov-report term Tests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#!/bin/sh | ||
docker pull ppc64le/ubuntu:noble |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
FROM s390x/ubuntu:noble | ||
|
||
RUN apt-get -qq update && DEBIAN_FRONTEND=noninteractive apt-get -y install \ | ||
cmake \ | ||
ghostscript \ | ||
git \ | ||
libffi-dev \ | ||
libfreetype6-dev \ | ||
libfribidi-dev \ | ||
libharfbuzz-dev \ | ||
libimagequant-dev \ | ||
libjpeg-turbo-progs \ | ||
libjpeg8-dev \ | ||
liblcms2-dev \ | ||
libopenjp2-7-dev \ | ||
libtiff5-dev \ | ||
meson \ | ||
netpbm \ | ||
python3-dev \ | ||
python3-numpy \ | ||
python3-setuptools \ | ||
python3-tk \ | ||
sudo \ | ||
tcl8.6-dev \ | ||
tk8.6-dev \ | ||
virtualenv \ | ||
wget \ | ||
xvfb \ | ||
zlib1g-dev \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
RUN useradd pillow \ | ||
&& mkdir /home/pillow \ | ||
&& chown pillow:pillow /home/pillow | ||
|
||
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 \ | ||
&& chown -R pillow:pillow /vpy3 | ||
|
||
ADD depends /depends | ||
RUN cd /depends \ | ||
&& ./install_raqm.sh \ | ||
&& ./install_webp.sh | ||
|
||
USER pillow | ||
CMD ["depends/test.sh"] | ||
|
||
#docker run -v $GITHUB_WORKSPACE:/Pillow pythonpillow/ubuntu-24.04-noble-s390x |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../Makefile.sub |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/bash | ||
source /vpy3/bin/activate | ||
cd /Pillow | ||
make clean | ||
make install-coverage | ||
/usr/bin/xvfb-run -a pytest -vx --cov PIL --cov-report term Tests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#!/bin/sh | ||
docker pull s390x/ubuntu:noble |