Sign inSign up
pypy logo

pypy:3.12-bookworm

Multi-platform
Also known as:
3.12-8-bookworm
3.12-8.0-bookworm
3.12-8.0.1-bookworm
Languages & frameworks
Index digest

sha256:62d818b848d7199bc873f2aef8f5cf88f971a83f603cc7bad03e16067a39e02b

OS/ARCH

Compressed size

354.32 MB

Last pushed

4 days by doijanky

Type

Image

Vulnerabilities

5
64
78
245
18

Manifest digest

sha256:614e1fe8fb8bf4bebbcd92261abb0dc51b7acb4afff76aeb02c1ad1f9db47a00

Layers (10)

oisupport/staging-arm64v8:fdc3e43b5e373ba42d0aed48c0fa346ea864e00bcafa15ba286f0c6153ea97eb
5
64
73
244
18
pypy:3.12-bookworm
0
0
5
2
0

4

RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends tcl tk ; rm -rf /var/lib/apt/lists/* # buildkit

2.99 MB


5

ENV LANG=C.UTF-8

0 B


6

ENV PATH=/opt/pypy/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

0 B


7

ENV PYPY_VERSION=8.0.1

0 B


8

RUN /bin/sh -c set -eux; dpkgArch="$(dpkg --print-architecture)"; case "${dpkgArch##*-}" in 'amd64') url='https://downloads.python.org/pypy/pypy3.12-v8.0.1-linux64.tar.gz'; sha256='aeed27797777296d9c94e53bdfa608804696dbd4ff9f2213003cce064ee46ef8'; ;; 'arm64') url='https://downloads.python.org/pypy/pypy3.12-v8.0.1-aarch64.tar.gz'; sha256='4dd9611f782f0974ffd25b521120b4297049daec05a3cec5698dbc6022c74fb9'; ;; 'i386') url='https://downloads.python.org/pypy/pypy3.12-v8.0.1-linux32.tar.gz'; sha256='aac46889fd2e85e522f5446256cd57167f91648c48d906d79eb593c812dbe55f'; ;; *) echo >&2 "error: current architecture ($dpkgArch) does not have a corresponding PyPy $PYPY_VERSION binary release"; exit 1 ;; esac; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends libfontconfig1 ; wget -O pypy.tar.gz "$url" --progress=dot:giga; echo "$sha256 *pypy.tar.gz" | sha256sum --check --strict -; mkdir /opt/pypy; tar -xzC /opt/pypy --strip-components=1 -f pypy.tar.gz; find /opt/pypy/lib* -depth -type d -a \( -name test -o -name tests \) -exec rm -rf '{}' +; rm pypy.tar.gz; rm -v /opt/pypy/lib/libtk*.so /opt/pypy/lib/libz.so*; ln -sv '/opt/pypy/bin/pypy3' /usr/local/bin/; pypy3 --version; cd /opt/pypy/lib/pypy3.12; if [ -f _gdbm_build.py ]; then pypy3 _gdbm_build.py; fi; if [ -f _ssl_build.py ]; then pypy3 _ssl_build.py; fi; if [ -f _lzma_build.py ]; then pypy3 _lzma_build.py; fi; if [ -f _sqlite3_build.py ]; then pypy3 _sqlite3_build.py; fi; if [ -f _tkinter/tklib_build.py ]; then apt-get install -y --no-install-recommends tk-dev; pypy3 _tkinter/tklib_build.py; fi; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark > /dev/null; export shellPid="$$"; find /opt/pypy -type f -executable -exec ldd '{}' ';' | awk '/not found/ { print >> "/dev/stderr"; system("kill -9 -$shellPid") } /=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1 || index(so, "/opt/pypy/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' | sort -u | xargs -rt dpkg-query --search | awk 'sub(":$", "", $1) { print $1 }' | sort -u | xargs -r apt-mark manual ; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*; pypy3 --version; pypy3 -m ensurepip --default-pip; pip --version; find /opt/pypy -depth \( \( -type d -a \( -name test -o -name tests \) \) -o \( -type f -a \( -name '*.pyc' -o -name '*.pyo' \) \) \) -exec rm -rf '{}' + # buildkit

28.83 MB


9

CMD ["pypy3"]

0 B