Skip to content

Commit

Permalink
Install Python 3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Sep 28, 2024
1 parent 690b4eb commit 80caf36
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions projects/pillow/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ RUN apt-get update && \
apt-get install -y \
libxau-dev \
pkg-config \
python3-pip \
python3.9-dev \
python3.9-distutils \
rsync

RUN git clone --depth 1 https://github.com/python-pillow/Pillow
Expand All @@ -29,7 +32,8 @@ RUN $SRC/Pillow/Tests/oss-fuzz/build_dictionaries.sh

COPY build_depends.sh $SRC

RUN ln -s /bin/true /usr/local/bin/yum_install \
RUN ln -sf /usr/bin/python3.9 /usr/local/bin/python3 \
&& ln -s /bin/true /usr/local/bin/yum_install \
&& ln -s /bin/true /usr/local/bin/yum \
&& cd $SRC/Pillow \
&& git submodule update --init wheels/multibuild \
Expand All @@ -38,7 +42,7 @@ RUN ln -s /bin/true /usr/local/bin/yum_install \
# install extra test images for a better starting corpus
RUN cd Pillow/depends && ./install_extra_test_images.sh

RUN python3 -m pip install --upgrade pip
RUN python3 -m pip install --upgrade atheris pyinstaller

COPY build.sh $SRC/

Expand Down

0 comments on commit 80caf36

Please sign in to comment.