Namespace
demisto
Image / Tag
python3:3.12.13.8160132
Content Digest
sha256:71f97ffcd65d5ea3bfc6509f55b80c26e253ea51d74768808999e748c9fb53f7
Details
Created

2026-04-09 22:47:17 UTC

Size

32.1 MB

Content Digest
Labels
  • org.opencontainers.image.authors
    Demisto <containers@demisto.com>
  • org.opencontainers.image.revision
    426e26934b5d76a035de6ab9755e6d0e569db886
  • org.opencontainers.image.version
    3.12.13.8160132

Environment
DOCKER_IMAGE

demisto/python3:3.12.13.8160132

GPG_KEY

7169605F62C751356D054A26A821E680E5FA6305

LANG

C.UTF-8

PATH

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

PYTHON_SHA256

c08bc65a81971c1dd5783182826503369466c7e67374d1646519adf05207b684

PYTHON_VERSION

3.12.13


Layers

[#000] sha256:589002ba0eaed121a1dbf42f6648f29e5be55d5c8a6ee0f8eaa0285cc21ac153 - 11.47% (3.68 MB)

[#001] sha256:6de7811bee64ba64355c278198dcf2e22b4efba35aa596f23f6ed80278ac5afe - 1.37% (450 KB)

[#002] sha256:6f3f43492c5b00f17f4a416bd78474116d69f3840b50bbc51c6654e4a4f88aa2 - 40.83% (13.1 MB)

[#003] sha256:89a8227ba99bcd9d5df82f6cb4e5ea1b222c3ec33685ba1a0d8c6db402f012ad - 0.0% (247 Bytes)

[#004] sha256:3456d6150de508aa70f30d89d07dec7c169d801798c36e216cf5d4b4c3c672f5 - 10.37% (3.33 MB)

[#005] sha256:e7e3c5ca22bff4f80064418dd0fdc0e181b2c3e497631753a46daa444a89a0f9 - 0.0% (359 Bytes)

[#006] sha256:4df3629f2e831117ded654e77e98f32abe514b712df6fef23c108fbeb96a34d4 - 0.0% (179 Bytes)

[#007] sha256:1a820d1c60e39ac9b5deb2845cea3d173dea964ec1cbbfcee50714b0186c728f - 0.25% (83.7 KB)

[#008] sha256:e7a63b2fe68060e036f97be51104fb4f2a03a167a764283c117943f16aedc1a8 - 35.69% (11.5 MB)

[#009] sha256:3d47386b8131e509ea6a64d6ac810f619d6257fcf818488705fdf9d4738ae222 - 0.0% (949 Bytes)

[#010] sha256:5777607699bfcfa9504711297bde6a1d20783398adc6ad97fecd5fb9ab9dca2b - 0.01% (4.8 KB)


History
2026-01-28 01:18:04 UTC (buildkit.dockerfile.v0)

ADD alpine-minirootfs-3.23.3-x86_64.tar.gz / # buildkit

2026-01-28 01:18:04 UTC (buildkit.dockerfile.v0)

CMD ["/bin/sh"]

2026-03-03 20:13:17 UTC (buildkit.dockerfile.v0)

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

2026-03-03 20:13:17 UTC (buildkit.dockerfile.v0)

ENV LANG=C.UTF-8

2026-03-03 20:13:17 UTC (buildkit.dockerfile.v0)

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

2026-03-03 20:13:17 UTC (buildkit.dockerfile.v0)

ENV GPG_KEY=7169605F62C751356D054A26A821E680E5FA6305

2026-03-03 20:13:17 UTC (buildkit.dockerfile.v0)

ENV PYTHON_VERSION=3.12.13

2026-03-03 20:13:17 UTC (buildkit.dockerfile.v0)

ENV PYTHON_SHA256=c08bc65a81971c1dd5783182826503369466c7e67374d1646519adf05207b684

2026-03-03 20:17:43 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache --virtual .build-deps bluez-dev bzip2-dev dpkg-dev dpkg findutils gcc gdbm-dev gnupg libc-dev libffi-dev libnsl-dev libtirpc-dev linux-headers make ncurses-dev openssl-dev pax-utils readline-dev sqlite-dev tar tcl-dev tk tk-dev util-linux-dev xz xz-dev zlib-dev ; wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; echo "$PYTHON_SHA256 *python.tar.xz" | sha256sum -c -; 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-option-checking=fatal --enable-shared $(test "${gnuArch%%-*}" != 'riscv64' && echo '--with-lto') --with-ensurepip ; nproc="$(nproc)"; EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000"; LDFLAGS="${LDFLAGS:-} -Wl,--strip-all"; arch="$(apk --print-arch)"; case "$arch" in x86_64|aarch64) EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"; ;; x86) ;; *) EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer"; ;; esac; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:-}" ; rm python; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:-} -Wl,-rpath='\$\$ORIGIN/../lib'" 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; export PYTHONDONTWRITEBYTECODE=1; python3 --version; pip3 --version # buildkit

2026-03-03 20:17:43 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; for src in idle3 pip3 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

2026-03-03 20:17:43 UTC (buildkit.dockerfile.v0)

CMD ["python3"]

2026-04-09 22:47:01 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c apk --update --no-cache upgrade # buildkit

2026-04-09 22:47:01 UTC (buildkit.dockerfile.v0)

COPY requirements.txt . # buildkit

2026-04-09 22:47:01 UTC (buildkit.dockerfile.v0)

COPY localtime /etc/localtime # buildkit

2026-04-09 22:47:01 UTC (buildkit.dockerfile.v0)

COPY public_list.dat /var/public_list.dat # buildkit

2026-04-09 22:47:16 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c apk --update add --no-cache --virtual .build-dependencies python3-dev build-base wget && pip install --no-cache-dir -r requirements.txt && apk del .build-dependencies && pip install --upgrade setuptools && pip install --upgrade wheel>=0.46.2 # buildkit

2026-04-09 22:47:16 UTC (buildkit.dockerfile.v0)

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

2026-04-09 22:47:17 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c cp /etc/ssl/openssl.cnf /etc/ssl/openssl.cnf.org && echo -e 'ssl_conf = ssl_sect\n[ssl_sect]\nsystem_default = system_default_sect\n\n[system_default_sect]\nOptions = UnsafeLegacyRenegotiation\n' > /tmp/ssl.cnf && sed -i '/providers = provider_sect/r /tmp/ssl.cnf' /etc/ssl/openssl.cnf && rm /tmp/ssl.cnf && grep -C 10 'Options = UnsafeLegacyRenegotiation' /etc/ssl/openssl.cnf # buildkit

2026-04-09 22:47:17 UTC (buildkit.dockerfile.v0)

ENV DOCKER_IMAGE=demisto/python3:1.0.0.8160132

2026-04-09 22:47:17 UTC (buildkit.dockerfile.v0)

ENV DOCKER_IMAGE=demisto/python3:3.12.13.8160132

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