Namespace
nikolaik
Image / Tag
python-nodejs:python3.9-nodejs21-alpine
Content Digest
sha256:c9053232cd56d8885e7f7ae3768ed849ce4db8898e2a237165d1fd6839889d1b
Details
Created

2024-04-11 12:03:07 UTC

Size

158 MB

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

Environment
GPG_KEY

E3FF2839C048B25C084DEBE9B26995E310250568

LANG

C.UTF-8

PATH

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

PYTHON_GET_PIP_SHA256

dfe9fd5c28dc98b5ac17979a953ea550cec37ae1b47a5116007395bfacff2ab9

PYTHON_GET_PIP_URL

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

PYTHON_PIP_VERSION

23.0.1

PYTHON_SETUPTOOLS_VERSION

58.1.0

PYTHON_VERSION

3.9.19

VENV

/opt/poetryvenv


Layers

[#000] sha256:4abcf20661432fb2d719aaf90656f55c287f8ca915dc1c92ec14ff61e67fbaf8 - 2.06% (3.25 MB)

[#001] sha256:c3cdf40b8bda8e4ca4be0f5fa7f1d128907271efcbc72cbfc7c8b0f939ec25ea - 0.37% (605 KB)

[#002] sha256:a05d724777b115e78126981b762c012b90a5556294acc51e4b3f642a8f79891d - 7.02% (11.1 MB)

[#003] sha256:2d50379da84735a24b4d6ed1f2d370bf1f94bf5a9ec8a4f1da85e97c30101cb7 - 0.0% (241 Bytes)

[#004] sha256:89a1f66d04aae2a80b0ab75c14c5af3476e886fa103e8a3708008f4ed636a88e - 1.72% (2.72 MB)

[#005] sha256:4b0443767360c123293daa85e23198cdde1d9c7883120cb2f6c9a238950163b8 - 0.0% (1.21 KB)

[#006] sha256:bb7cb855f6856ec090bc6537fa973892d9520f785daf815fa68390d6c66222f4 - 1.95% (3.08 MB)

[#007] sha256:386d7951647b92e80c6db4a468fd90c26b698f505edba31076f8d6ac817c12e5 - 30.66% (48.4 MB)

[#008] sha256:650d829ba2b00cfd753e86e3ac1d829f7f8340573ce06457934b4ebe7d5bd4e1 - 0.0% (236 Bytes)

[#009] sha256:a04707b29336117a5b4666b7e5754c1b27563e972e7bf6445e5538d84591fb2a - 30.59% (48.2 MB)

[#010] sha256:02e8bd7ba1f4c13a21a954c72200c0e249fb22bc9e8fd14a6e25141d81f580e2 - 3.3% (5.21 MB)

[#011] sha256:008fcc545efeddd7a03cd684cc7ff55c7f401d7a1960a57f2997a377961ed8a8 - 22.31% (35.2 MB)


History
2024-01-27 00:30:48 UTC

/bin/sh -c #(nop) ADD file:37a76ec18f9887751cd8473744917d08b7431fc4085097bb6a09d81b41775473 in /

2024-01-27 00:30:48 UTC

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

2024-03-21 23:32:08 UTC (buildkit.dockerfile.v0)

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

2024-03-21 23:32:08 UTC (buildkit.dockerfile.v0)

ENV LANG=C.UTF-8

2024-03-21 23:32:08 UTC (buildkit.dockerfile.v0)

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

2024-03-21 23:32:08 UTC (buildkit.dockerfile.v0)

ENV GPG_KEY=E3FF2839C048B25C084DEBE9B26995E310250568

2024-03-21 23:32:08 UTC (buildkit.dockerfile.v0)

ENV PYTHON_VERSION=3.9.19

2024-03-21 23:32:08 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-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

2024-03-21 23:32:08 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

2024-03-21 23:32:08 UTC (buildkit.dockerfile.v0)

ENV PYTHON_PIP_VERSION=23.0.1

2024-03-21 23:32:08 UTC (buildkit.dockerfile.v0)

ENV PYTHON_SETUPTOOLS_VERSION=58.1.0

2024-03-21 23:32:08 UTC (buildkit.dockerfile.v0)

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

2024-03-21 23:32:08 UTC (buildkit.dockerfile.v0)

ENV PYTHON_GET_PIP_SHA256=dfe9fd5c28dc98b5ac17979a953ea550cec37ae1b47a5116007395bfacff2ab9

2024-03-21 23:32:08 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

2024-03-21 23:32:08 UTC (buildkit.dockerfile.v0)

CMD ["python3"]

2024-04-11 12:02:37 UTC (buildkit.dockerfile.v0)

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

2024-04-11 12:02:37 UTC (buildkit.dockerfile.v0)

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

2024-04-11 12:02:37 UTC (buildkit.dockerfile.v0)

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

2024-04-11 12:02:44 UTC (buildkit.dockerfile.v0)

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

2024-04-11 12:02:44 UTC (buildkit.dockerfile.v0)

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

2024-04-11 12:02:52 UTC (buildkit.dockerfile.v0)

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

2024-04-11 12:02:52 UTC (buildkit.dockerfile.v0)

ENV VENV=/opt/poetryvenv

2024-04-11 12:02:59 UTC (buildkit.dockerfile.v0)

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

2024-04-11 12:03:07 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