Sign inSign up
pypy logo

pypy:trixie

Multi-platform
Also known as:
3
3-8
3-8-trixie
3-8.0
3-8.0-trixie

+ 11 more

Languages & frameworks
Index digest

sha256:a261b7e35995b5a617f0f79eab3eb05fcfe72721086c08ad10a440ca63b9ffd2

OS/ARCH

Compressed size

384.27 MB

Last pushed

11 days by doijanky

Type

Image

Vulnerabilities

1
32
40
208
27

Manifest digest

sha256:ff90bb2fecdcf7733b6b9a8c7b1dcaa00a373616868c9e01e363d8de1f47bfe8

Layers (10)

buildpack-deps:3994ec5d84711d3c401c008e3134628d3375c7d51f3d8266c69dd46babf1e149
1
30
34
207
27
pypy:trixie
0
2
6
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.98 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.0

0 B


8

RUN /bin/sh -c set -eux; dpkgArch="$(dpkg --print-architecture)"; case "${dpkgArch##*-}" in 'amd64') url='https://downloads.python.org/pypy/pypy3.11-v8.0.0-linux64.tar.gz'; sha256='66a3657e9ddf2d62ead44d3a44b9ea2f6e7dbf28d812554cae5c982a0585bfa5'; ;; 'arm64') url='https://downloads.python.org/pypy/pypy3.11-v8.0.0-aarch64.tar.gz'; sha256='37faf1a0b00131748910ad21844a9b1b3fedd630c89b01ec98cdb1b5466ffca5'; ;; 'i386') url='https://downloads.python.org/pypy/pypy3.11-v8.0.0-linux32.tar.gz'; sha256='14fcf398eacffdc98db2f3b10ae9e8c9628932dc89b0958d145b9fd9c7307301'; ;; *) 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.11; 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; pip install --disable-pip-version-check --no-cache-dir --no-compile 'wheel<0.46'; 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

31.01 MB


9

CMD ["pypy3"]

0 B