forked from python-pillow/docker-images
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
56 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
FROM fedora:41 | ||
|
||
RUN dnf install -y \ | ||
freetype-devel \ | ||
fribidi-devel \ | ||
gcc \ | ||
harfbuzz-devel \ | ||
lcms2-devel \ | ||
libimagequant-devel \ | ||
libjpeg-devel \ | ||
libraqm-devel \ | ||
libtiff-devel \ | ||
libwebp-devel \ | ||
make \ | ||
openjpeg2-devel \ | ||
python3-devel \ | ||
python3-tkinter \ | ||
python3-virtualenv \ | ||
redhat-rpm-config \ | ||
tcl-devel \ | ||
tk-devel \ | ||
util-linux \ | ||
which \ | ||
xorg-x11-server-Xvfb \ | ||
zlib-devel \ | ||
&& dnf clean all | ||
|
||
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.13 --system-site-packages /vpy3 \ | ||
&& /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 | ||
|
||
ADD depends /depends | ||
|
||
USER pillow | ||
CMD ["depends/test.sh"] | ||
|
||
#docker run -v $GITHUB_WORKSPACE:/Pillow pythonpillow/fedora-41-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,6 @@ | ||
#!/bin/bash | ||
source /vpy3/bin/activate | ||
cd /Pillow | ||
make clean | ||
make install-coverage | ||
/usr/bin/xvfb-run -a .ci/test.sh |
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 fedora:41 |