Namespace
nikolaik
Image / Tag
python-nodejs:python3.10-nodejs21-alpine-canary
Content Digest
sha256:1f04daf475beb939d68d227ec8594c3f7ef2a56226ef7909708498856b7cc464
Details
Created

2023-12-28 09:28:55 UTC

Size

132 MB

Content Digest
Labels
  • org.opencontainers.image.authors
    Nikolai R Kristiansen <nikolaik@gmail.com>

Environment
GPG_KEY

A035C8C19219BA821ECEA86B64E628F8D684696D

LANG

C.UTF-8

PATH

/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PYTHON_GET_PIP_SHA256

9cc01665956d22b3bf057ae8287b035827bfd895da235bcea200ab3b811790b6

PYTHON_GET_PIP_URL

https://github.com/pypa/get-pip/raw/4cfa4081d27285bda1220a62a5ebf5b4bd749cdb/public/get-pip.py

PYTHON_PIP_VERSION

23.0.1

PYTHON_SETUPTOOLS_VERSION

65.5.1

PYTHON_VERSION

3.10.13

VENV

/opt/poetryvenv


Layers

[#000] sha256:661ff4d9561e3fd050929ee5097067c34bafc523ee60f5294a37fd08056a73ca - 2.46% (3.25 MB)

[#001] sha256:44cda88cd45dc00d3349d343b46e92f0d55daa059d276f3ecf860c174bbedf81 - 0.45% (607 KB)

[#002] sha256:48c91875651ed05bd18926dbdaf7dcad60d34762cd2ab2ab80954031cdf851f7 - 8.81% (11.6 MB)

[#003] sha256:4a3bf9ff3965616e6c4ba6917c0cb75281baf44e209eea3b48253f7e94b76058 - 0.0% (242 Bytes)

[#004] sha256:8c653295a5ef963995a580080525696a67e2671956a9c4c55e8b699d447cf790 - 2.22% (2.94 MB)

[#005] sha256:6e119ff3f38339776f4740ff8e935953f3994aad169887cae6d7b0bacdce9d95 - 0.0% (1.21 KB)

[#006] sha256:3b5c5b2be71a0f832085db675749eebb50c9e8e214bbd4a2fc396c7854efa2c8 - 2.33% (3.08 MB)

[#007] sha256:46ff8386902a28cc69022dbe4a77a95d583b92ed9eaa5c6e9ddf4ae8c847daf7 - 36.27% (47.9 MB)

[#008] sha256:9035070fcf70da72d386b8ec41be32ad0528b6a4837e837274ed2633a7925848 - 0.0% (235 Bytes)

[#009] sha256:654c8eaf47ba7d64ead40edf7e5654ba36dbaaef5295ca505083bb5a2a9749cc - 19.98% (26.4 MB)

[#010] sha256:711d6d13cf6fecedcab4f8f8e08e2fb4a3509ab1a5e2844ca939ee8d9e77e891 - 4.46% (5.89 MB)

[#011] sha256:88b988e83ef9d1ccc4e19d3e938b7756f8199090f7e945a9215b0cacb63e98e2 - 23.01% (30.4 MB)


History
2023-12-08 01:20:49 UTC

/bin/sh -c #(nop) ADD file:1f4eb46669b5b6275af19eb7471a6899a61c276aa7d925b8ae99310b14b75b92 in /

2023-12-08 01:20:49 UTC

/bin/sh -c #(nop) CMD ["/bin/sh"]

2023-12-08 09:55:38 UTC (buildkit.dockerfile.v0)

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

2023-12-08 09:55:38 UTC (buildkit.dockerfile.v0)

ENV LANG=C.UTF-8

2023-12-08 09:55:38 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache ca-certificates tzdata ; # buildkit

2023-12-08 09:55:38 UTC (buildkit.dockerfile.v0)

ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D

2023-12-08 09:55:38 UTC (buildkit.dockerfile.v0)

ENV PYTHON_VERSION=3.10.13

2023-12-08 09:55:38 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache --virtual .build-deps gnupg tar xz bluez-dev bzip2-dev dpkg-dev dpkg expat-dev findutils gcc gdbm-dev libc-dev libffi-dev libnsl-dev libtirpc-dev linux-headers make ncurses-dev openssl-dev pax-utils readline-dev sqlite-dev tcl-dev tk tk-dev util-linux-dev xz-dev zlib-dev ; wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; wget -O python.tar.xz.asc "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc"; GNUPGHOME="$(mktemp -d)"; export GNUPGHOME; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$GPG_KEY"; gpg --batch --verify python.tar.xz.asc python.tar.xz; gpgconf --kill all; rm -rf "$GNUPGHOME" python.tar.xz.asc; mkdir -p /usr/src/python; tar --extract --directory /usr/src/python --strip-components=1 --file python.tar.xz; rm python.tar.xz; cd /usr/src/python; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; ./configure --build="$gnuArch" --enable-loadable-sqlite-extensions --enable-optimizations --enable-option-checking=fatal --enable-shared --with-lto --with-system-expat --without-ensurepip ; nproc="$(nproc)"; EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000"; LDFLAGS="${LDFLAGS:--Wl},--strip-all"; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:-}" "PROFILE_TASK=${PROFILE_TASK:-}" ; rm python; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" "PROFILE_TASK=${PROFILE_TASK:-}" python ; make install; cd /; rm -rf /usr/src/python; find /usr/local -depth \( \( -type d -a \( -name test -o -name tests -o -name idle_test \) \) -o \( -type f -a \( -name '*.pyc' -o -name '*.pyo' -o -name 'libpython*.a' \) \) \) -exec rm -rf '{}' + ; find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec scanelf --needed --nobanner --format '%n#p' '{}' ';' | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' | xargs -rt apk add --no-network --virtual .python-rundeps ; apk del --no-network .build-deps; python3 --version # buildkit

2023-12-08 09:55:38 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; for src in idle3 pydoc3 python3 python3-config; do dst="$(echo "$src" | tr -d 3)"; [ -s "/usr/local/bin/$src" ]; [ ! -e "/usr/local/bin/$dst" ]; ln -svT "$src" "/usr/local/bin/$dst"; done # buildkit

2023-12-08 09:55:38 UTC (buildkit.dockerfile.v0)

ENV PYTHON_PIP_VERSION=23.0.1

2023-12-08 09:55:38 UTC (buildkit.dockerfile.v0)

ENV PYTHON_SETUPTOOLS_VERSION=65.5.1

2023-12-08 09:55:38 UTC (buildkit.dockerfile.v0)

ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/4cfa4081d27285bda1220a62a5ebf5b4bd749cdb/public/get-pip.py

2023-12-08 09:55:38 UTC (buildkit.dockerfile.v0)

ENV PYTHON_GET_PIP_SHA256=9cc01665956d22b3bf057ae8287b035827bfd895da235bcea200ab3b811790b6

2023-12-08 09:55:38 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; wget -O get-pip.py "$PYTHON_GET_PIP_URL"; echo "$PYTHON_GET_PIP_SHA256 *get-pip.py" | sha256sum -c -; export PYTHONDONTWRITEBYTECODE=1; python get-pip.py --disable-pip-version-check --no-cache-dir --no-compile "pip==$PYTHON_PIP_VERSION" "setuptools==$PYTHON_SETUPTOOLS_VERSION" ; rm -f get-pip.py; pip --version # buildkit

2023-12-08 09:55:38 UTC (buildkit.dockerfile.v0)

CMD ["python3"]

2023-12-28 09:28:26 UTC (buildkit.dockerfile.v0)

LABEL org.opencontainers.image.authors=Nikolai R Kristiansen <nikolaik@gmail.com>

2023-12-28 09:28:26 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c addgroup -g 1000 pn && adduser -u 1000 -G pn -s /bin/sh -D pn # buildkit

2023-12-28 09:28:27 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c apk add libstdc++ # buildkit

2023-12-28 09:28:34 UTC (buildkit.dockerfile.v0)

COPY /node-v21.5.0-linux-x64-musl /usr/local # buildkit

2023-12-28 09:28:34 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c corepack enable yarn # buildkit

2023-12-28 09:28:42 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c pip install -U pip && pip install pipenv # buildkit

2023-12-28 09:28:42 UTC (buildkit.dockerfile.v0)

ENV VENV=/opt/poetryvenv

2023-12-28 09:28:48 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c python -m venv $VENV && $VENV/bin/pip install -U pip wheel # buildkit

2023-12-28 09:28:55 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c $VENV/bin/pip install poetry && ln -s $VENV/bin/poetry /usr/local/bin/poetry # buildkit

Danger Zone
Delete Tag

Please be careful as this will not just delete the reference but also the actual content!

For example when you have latest and v1.2.3 both pointing to the same image
the deletion of latest will also permanently remove v1.2.3.

Delete