Skip to content

Commit 14242d3

Browse files
Update the image's PyPy to 3.12 (PyPy 8.0.1)
Use the latest alpine-pypy release, built for Alpine 3.24 to match the base image. It ships as a .tar.gz rather than .tar.bz2.
1 parent b172ca0 commit 14242d3

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

‎Dockerfile‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -89,16 +89,16 @@ RUN if [ "$DOTNET_VERSION" = "6" ]; then \
8989

9090
# Install PyPy (Alpine-compatible build for x86_64 only)
9191
# PyPy is an alternative Python interpreter that makes the Python reachability analysis faster.
92-
# This is a custom build of PyPy3.11 for Alpine on x86-64.
92+
# This is a custom build of PyPy3.12 for Alpine on x86-64.
9393
ARG TARGETARCH # Passed by Docker buildx
9494
RUN if [ "$TARGETARCH" = "amd64" ]; then \
95-
PYPY_URL="https://github.com/BarrensZeppelin/alpine-pypy/releases/download/alp3.23.1-pypy3.11-7.3.20/pypy3.11-v7.3.20-linux64-alpine3.21.tar.bz2" && \
96-
PYPY_SHA256="60847fea6ffe96f10a3cd4b703686e944bb4fbcc01b7200c044088dd228425e1" && \
97-
curl -L -o /tmp/pypy.tar.bz2 "$PYPY_URL" && \
98-
echo "$PYPY_SHA256 /tmp/pypy.tar.bz2" | sha256sum -c - && \
95+
PYPY_URL="https://github.com/BarrensZeppelin/alpine-pypy/releases/download/alp3.24.2-pypy3.12-8.0.1/pypy3.12-v8.0.1-linux64-alpine3.24.tar.gz" && \
96+
PYPY_SHA256="b6d5dd429c6394f1710a52e3e20d5c9198547caff9528547c457d3f2ed37db09" && \
97+
curl -L -o /tmp/pypy.tar.gz "$PYPY_URL" && \
98+
echo "$PYPY_SHA256 /tmp/pypy.tar.gz" | sha256sum -c - && \
9999
mkdir -p /opt/pypy && \
100-
tar -xj --strip-components=1 -C /opt/pypy -f /tmp/pypy.tar.bz2 && \
101-
rm /tmp/pypy.tar.bz2 && \
100+
tar -xz --strip-components=1 -C /opt/pypy -f /tmp/pypy.tar.gz && \
101+
rm /tmp/pypy.tar.gz && \
102102
ln -s /opt/pypy/bin/pypy3 /bin/pypy3 && \
103103
pypy3 --version; \
104104
fi

0 commit comments

Comments
 (0)