Introducing our new CEO Don Johnson - Read More
pypy logo

pypy:3.11-7

Multi-platform
Languages & Frameworks
Index digest

sha256:b4256767b112e0df18a3ec420dc53318db5121c2303e8e6b23fb8b1152768a55

OS/ARCH

Compressed size

366.82 MB

Last pushed

1 day by doijanky

Type

Image

Vulnerabilities

0
1
4
122
4

Manifest digest

sha256:7453e6175cf6d83a2a6e3fbf0a39c455642991d8cbb8a13583df75c170ee9884

Layers (13)

0

# debian.sh --arch 'i386' out/ 'bookworm' '@1738540800'

49.46 MB


1

RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates curl gnupg netbase sq wget ; rm -rf /var/lib/apt/lists/* # buildkit

24.9 MB


2

RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends git mercurial openssh-client subversion procps ; rm -rf /var/lib/apt/lists/* # buildkit

66.24 MB


3

RUN /bin/sh -c set -ex; apt-get update; apt-get install -y --no-install-recommends autoconf automake bzip2 default-libmysqlclient-dev dpkg-dev file g++ gcc imagemagick libbz2-dev libc6-dev libcurl4-openssl-dev libdb-dev libevent-dev libffi-dev libgdbm-dev libglib2.0-dev libgmp-dev libjpeg-dev libkrb5-dev liblzma-dev libmagickcore-dev libmagickwand-dev libmaxminddb-dev libncurses5-dev libncursesw5-dev libpng-dev libpq-dev libreadline-dev libsqlite3-dev libssl-dev libtool libwebp-dev libxml2-dev libxslt-dev libyaml-dev make patch unzip xz-utils zlib1g-dev ; rm -rf /var/lib/apt/lists/* # buildkit

210.24 MB


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.14 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.18

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.18-linux64.tar.bz2'; sha256='df5fa534800ff09d990e50ca4fdb02d8a06b9ed948dbcb3a09bea0739ef42de7'; ;; 'arm64') url='https://downloads.python.org/pypy/pypy3.11-v7.3.18-aarch64.tar.bz2'; sha256='95bc3021cb9be2aa766ecb776c215e97ae8c0dda99dd48840b40b5b87d90bc45'; ;; 'i386') url='https://downloads.python.org/pypy/pypy3.11-v7.3.18-linux32.tar.bz2'; sha256='70357a69cdbf4ce449b5743901fcd36208e0a89eadcfb4d2ebdc9b4711a0612c'; ;; *) 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 libexpat1 libncurses5 libncursesw6 libsqlite3-0 ; 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; 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; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark > /dev/null; find /opt/pypy -type f -executable -exec ldd '{}' ';' | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' | sort -u | xargs -r dpkg-query --search | cut -d: -f1 | 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; 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

27.37 MB


9

ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/3843bff3a0a61da5b63ea0b7d34794c5c51a2f11/get-pip.py

0 B


10

ENV PYTHON_GET_PIP_SHA256=95c5ee602b2f3cc50ae053d716c3c89bea62c58568f64d7d25924d399b2d5218

0 B


11

RUN /bin/sh -c set -ex; wget -O get-pip.py "$PYTHON_GET_PIP_URL"; echo "$PYTHON_GET_PIP_SHA256 *get-pip.py" | sha256sum --check --strict -; pipVersion="$(pypy3 -c 'import ensurepip; print(ensurepip._PIP_VERSION)')"; setuptoolsVersion="$(pypy3 -c 'import ensurepip; print(ensurepip._SETUPTOOLS_VERSION)')"; pypy3 get-pip.py --disable-pip-version-check --no-cache-dir "pip == $pipVersion" "setuptools == $setuptoolsVersion" ; 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 '{}' +; rm -f get-pip.py # buildkit

3.29 MB


12

CMD ["pypy3"]

0 B


This image couldn't be analyzed
It may have an unsupported architecture, or exceed the maximum size