bookworm
sha256:bf6a1a109b917a7d37806304d94889f313454f9fca8384373ba4bedea3777bb8
OS/ARCH
Compressed size
367.22 MB
Last pushed
7 days by doijanky
Type
Image
Vulnerabilities
Manifest digest
sha256:95df14f6dde34ab7ddb7b54064d2f763bd677c3c0b85eebc28f4a587aab99387
0
# debian.sh --arch 'amd64' out/ 'bookworm' '@1738540800'
48.48 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.06 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
64.39 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
211.33 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 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.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 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 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
30.56 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.24 MB
12
CMD ["pypy3"]
0 B