Skip to content

Commit

Permalink
release
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Nov 17, 2024
1 parent 032974c commit b3ce8e6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 24 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,6 @@ jobs:
- name: Prepare build
run: |
sudo apt-get update && sudo apt-get install -qyy debootstrap
if [[ -n "$matrix.test-image" ]]; then
git submodule update --remote --init --recursive Pillow
else
git submodule update --remote Pillow
fi
(cd Pillow && git checkout main)
sudo chown -R 1001 $(pwd)
- name: Build image
Expand All @@ -37,7 +31,7 @@ jobs:
if [[ -n "$DOCKER_USERNAME" ]]; then
echo $DOCKER_PASSWORD | docker login -u $DOCKER_USERNAME --password-stdin && echo "logged_in=true" >> $GITHUB_OUTPUT
fi
make build BRANCH=main
make build
env:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
Expand Down
23 changes: 6 additions & 17 deletions debian-12-bookworm-x86/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,17 +35,7 @@ RUN apt-get -qq update && DEBIAN_FRONTEND=noninteractive apt-get -y install \
cmake \
curl \
git \
libfreetype6-dev \
libfribidi-dev \
libharfbuzz-dev \
libjpeg-turbo-progs \
libjpeg62-turbo-dev \
liblcms2-dev \
libopenjp2-7-dev \
libtiff5-dev \
libwebp-dev \
libssl-dev \
netpbm \
python3-dev \
python3-setuptools \
python3-tk \
Expand All @@ -54,15 +44,14 @@ RUN apt-get -qq update && DEBIAN_FRONTEND=noninteractive apt-get -y install \
tk8.6-dev \
virtualenv \
wget \
xvfb \
zlib1g-dev \
&& rm -rf /var/lib/apt/lists/*

RUN useradd -u 1001 pillow \
&& mkdir /home/pillow \
&& chown pillow:pillow /home/pillow
&& cd /pillow
&& make install
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 --upgrade pip
&& /vpy3/bin/pip install Pillow==11.0.0

RUN python3 -c "from PIL import Image;print(Image.__version__)"

Expand Down

0 comments on commit b3ce8e6

Please # to comment.