Introducing our new CEO Don Johnson - Read More
pypy logo

pypy:slim-bullseye

Multi-platform
Languages & Frameworks
Index digest

sha256:c2585ade0acc965422121ddda9a11a93e4da4bf6cf8612d37ad04a433a6205f6

OS/ARCH

Compressed size

62.52 MB

Last pushed

7 days by doijanky

Type

Image

Vulnerabilities

2
18
18
1
1

Manifest digest

sha256:6b65a8785cf4aea82080fec3c1f99afcbfc43ed0574de9cfb53dab17ee70080a

Layers (10)

0

# debian.sh --arch 'amd64' out/ 'bullseye' '@1738540800'

30.25 MB


1

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

862.56 KB


2

ENV LANG=C.UTF-8

0 B


3

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

0 B


4

ENV PYPY_VERSION=7.3.18

0 B


5

RUN /bin/sh -c set -eux; dpkgArch="$(dpkg --print-architecture)"; case "${dpkgArch##*-}" in 'amd64') url='https://downloads.python.org/pypy/pypy3.10-v7.3.18-linux64.tar.bz2'; sha256='834ccd4544bb47112a66977add7e47f30619f74061ae990876bcba95d98c27c5'; ;; 'arm64') url='https://downloads.python.org/pypy/pypy3.10-v7.3.18-aarch64.tar.bz2'; sha256='e843aecd48eb06b625af67891b99e3440313cfb64c6851fc37df1e5572c8ef9e'; ;; 'i386') url='https://downloads.python.org/pypy/pypy3.10-v7.3.18-linux32.tar.bz2'; sha256='34ef09a481254aad0f22bf09fd7c99efb65ffef4f79f5b4222505f55f8d9c22e'; ;; *) 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 bzip2 wget 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.10; if [ -f _gdbm_build.py ]; then apt-get install -y --no-install-recommends gcc libc6-dev libgdbm-dev; pypy3 _gdbm_build.py; fi; if [ -f _ssl_build.py ]; then apt-get install -y --no-install-recommends gcc libc6-dev libssl-dev; pypy3 _ssl_build.py; fi; if [ -f _lzma_build.py ]; then apt-get install -y --no-install-recommends gcc libc6-dev liblzma-dev; pypy3 _lzma_build.py; fi; if [ -f _sqlite3_build.py ]; then apt-get install -y --no-install-recommends gcc libc6-dev libsqlite3-dev; 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

31.14 MB


6

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

0 B


7

ENV PYTHON_GET_PIP_SHA256=95c5ee602b2f3cc50ae053d716c3c89bea62c58568f64d7d25924d399b2d5218

0 B


8

RUN /bin/sh -c set -ex; apt-get update; apt-get install -y --no-install-recommends wget; rm -rf /var/lib/apt/lists/*; 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" ; apt-get purge -y --auto-remove wget; 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.31 MB


9

CMD ["pypy3"]

0 B


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