Sign inSign up
pypy logo

pypy:3.11-7.3.23

Multi-platform
Also known as:
3
3-7
3-7-trixie
3-7.3
3-7.3-trixie

+ 9 more

Languages & frameworks
Index digest

sha256:320eb8ae0afc400c86940df71f41ca5049e948c6eb87323c06be877ac3c65a80

OS/ARCH

Compressed size

401.81 MB

Last pushed

about 10 hours by doijanky

Type

Image

Vulnerabilities

1
26
36
199
26

Manifest digest

sha256:6015e7d585da1cfaee01cc97dccd8beb9a6fb7158533d8ea958716e861f6fd9c

Layers (10)

oisupport/staging-i386:4ae94da0c50fdc30a55f34669c74053293886ac9837584ff61ce38639d1ec8e1
1
24
30
198
26
pypy:3.11-7.3.23
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

3.11 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=7.3.23

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-v7.3.23-linux64.tar.bz2'; sha256='16f9f56e82d1f4ec95a324c1a8cacfd78afc7f0656c0a809a18725ef4391453a'; ;; 'arm64') url='https://downloads.python.org/pypy/pypy3.11-v7.3.23-aarch64.tar.bz2'; sha256='5433ac0ad526aeb35025ef8509bed65cd62ea35cb9e21ac649c69a5eff4eecb6'; ;; 'i386') url='https://downloads.python.org/pypy/pypy3.11-v7.3.23-linux32.tar.bz2'; sha256='c7e2ffb173dcadbe4708a2e606e0b705474c1c33f25a09a4084f265d538172e4'; ;; *) 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.bz2 "$url" --progress=dot:giga; echo "$sha256 *pypy.tar.bz2" | sha256sum --check --strict -; mkdir /opt/pypy; tar -xjC /opt/pypy --strip-components=1 -f pypy.tar.bz2; find /opt/pypy/lib* -depth -type d -a \( -name test -o -name tests \) -exec rm -rf '{}' +; rm pypy.tar.bz2; 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

30.16 MB


9

CMD ["pypy3"]

0 B