docker.io/python:3.12.5-bookworm linux/amd64

docker.io/python:3.12.5-bookworm - 国内下载镜像源 浏览次数:148
🐳 Python Docker Image: .NET Framework 3.5/4.6/5.0 on Ubuntu/Linux
源镜像 docker.io/python:3.12.5-bookworm
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/python:3.12.5-bookworm
镜像ID sha256:0218518c77bef087f9111b988785f0cef566c072474ee5324c7bb57faf07d93d
镜像TAG 3.12.5-bookworm
大小 1.02GB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD python3
启动入口
工作目录
OS/平台 linux/amd64
浏览量 148 次
贡献者
镜像创建 2024-08-07T15:49:22Z
同步时间 2024-08-28 13:39
更新时间 2024-11-20 22:08
环境变量
PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin LANG=C.UTF-8 GPG_KEY=7169605F62C751356D054A26A821E680E5FA6305 PYTHON_VERSION=3.12.5 PYTHON_PIP_VERSION=24.2 PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/66d8a0f637083e2c3ddffc0cb1e65ce126afb856/public/get-pip.py PYTHON_GET_PIP_SHA256=6fb7b781206356f45ad79efbb19322caa6c2a5ad39092d0d44d0fec94117e118

Docker拉取命令 无权限下载?点我修复

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/python:3.12.5-bookworm
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/python:3.12.5-bookworm  docker.io/python:3.12.5-bookworm

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/python:3.12.5-bookworm
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/python:3.12.5-bookworm  docker.io/python:3.12.5-bookworm

Shell快速替换命令

sed -i 's#python:3.12.5-bookworm#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/python:3.12.5-bookworm#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/python:3.12.5-bookworm && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/python:3.12.5-bookworm  docker.io/python:3.12.5-bookworm'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/python:3.12.5-bookworm && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/python:3.12.5-bookworm  docker.io/python:3.12.5-bookworm'

镜像历史

大小 创建时间 层信息
0.00B 2024-08-07 23:49:22 CMD ["python3"]
12.38MB 2024-08-07 23:49:22 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" ; rm -f get-pip.py; pip --version # buildkit
0.00B 2024-08-07 23:49:22 ENV PYTHON_GET_PIP_SHA256=6fb7b781206356f45ad79efbb19322caa6c2a5ad39092d0d44d0fec94117e118
0.00B 2024-08-07 23:49:22 ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/66d8a0f637083e2c3ddffc0cb1e65ce126afb856/public/get-pip.py
0.00B 2024-08-07 23:49:22 ENV PYTHON_PIP_VERSION=24.2
32.00B 2024-08-07 23:49:22 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
60.53MB 2024-08-07 23:49:22 RUN /bin/sh -c set -eux; 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="$(dpkg-buildflags --get CFLAGS)"; LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; 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; bin="$(readlink -ve /usr/local/bin/python3)"; dir="$(dirname "$bin")"; mkdir -p "/usr/share/gdb/auto-load/$dir"; cp -vL Tools/gdb/libpython.py "/usr/share/gdb/auto-load/$bin-gdb.py"; 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 '{}' + ; ldconfig; python3 --version # buildkit
0.00B 2024-08-07 23:49:22 ENV PYTHON_VERSION=3.12.5
0.00B 2024-08-07 23:49:22 ENV GPG_KEY=7169605F62C751356D054A26A821E680E5FA6305
17.78MB 2024-08-07 23:49:22 RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends libbluetooth-dev tk-dev uuid-dev ; rm -rf /var/lib/apt/lists/* # buildkit
0.00B 2024-08-07 23:49:22 ENV LANG=C.UTF-8
0.00B 2024-08-07 23:49:22 ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
587.42MB 2024-08-07 23:49:22 /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/*
176.69MB 2024-08-07 23:49:22 /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/*
48.44MB 2024-08-07 23:49:22 /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/*
0.00B 2024-08-07 23:49:22 /bin/sh -c #(nop) CMD ["bash"]
116.51MB 2024-08-07 23:49:22 /bin/sh -c #(nop) ADD file:0d5bdf84bbcdfa95d42190537e3cad2c0a5876f9127fae6a1d1c485d3539c77d in /

镜像信息

{
    "Id": "sha256:0218518c77bef087f9111b988785f0cef566c072474ee5324c7bb57faf07d93d",
    "RepoTags": [
        "python:3.12.5-bookworm",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/python:3.12.5-bookworm"
    ],
    "RepoDigests": [
        "python@sha256:db5117bdc617075dcfebb40b2e5e6887750f83c385ebcaf1302412a6f3b1b147",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/python@sha256:721a154eb3cad01914a1510271b3303d0c26fe23dd2d919668595813c991b66f"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-08-07T15:49:22Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "LANG=C.UTF-8",
            "GPG_KEY=7169605F62C751356D054A26A821E680E5FA6305",
            "PYTHON_VERSION=3.12.5",
            "PYTHON_PIP_VERSION=24.2",
            "PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/66d8a0f637083e2c3ddffc0cb1e65ce126afb856/public/get-pip.py",
            "PYTHON_GET_PIP_SHA256=6fb7b781206356f45ad79efbb19322caa6c2a5ad39092d0d44d0fec94117e118"
        ],
        "Cmd": [
            "python3"
        ],
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": null,
        "WorkingDir": "",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 1019741764,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/a43e39ad7ec5c8fc969a8e4bff49ff672d3b5e3b728304210b2d9fea47e2235c/diff:/var/lib/docker/overlay2/aeca7658372a29a19ddaa74f81d587f7125927931a1fbc8e8de9cf8c8fd6f913/diff:/var/lib/docker/overlay2/b5b6b4d695ec8be3e355484a0b5a515c021bc1c91e22808fa15e894bc6dd9c90/diff:/var/lib/docker/overlay2/6feec04dba344119ff69b0bf5cb7798893c48839273717bfb0acbd2e34f8e91e/diff:/var/lib/docker/overlay2/bf287793f9520ff235b23b385701b5fcb421a00469cb5441921d680f6613bee8/diff:/var/lib/docker/overlay2/82925621735cae28c5a07194fd29636cb3a699119d2aabe388da3f852b13e7fe/diff:/var/lib/docker/overlay2/4e1f1a6d9006adf255a5d17eccec886a201346e18326dd023db9d1c1a09d016c/diff",
            "MergedDir": "/var/lib/docker/overlay2/c638caad63a64cef0204d25f1cacbed39a1834aede0933323c7905e26ff877c7/merged",
            "UpperDir": "/var/lib/docker/overlay2/c638caad63a64cef0204d25f1cacbed39a1834aede0933323c7905e26ff877c7/diff",
            "WorkDir": "/var/lib/docker/overlay2/c638caad63a64cef0204d25f1cacbed39a1834aede0933323c7905e26ff877c7/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:8f4ceb8cc1a2056b98f0424fad4715dd334aecc9769186b3ea0394f131524e27",
            "sha256:916d866d5b0dc17158c78e5a09717fcf619b04450125caafa9c1b8f7aa6a2c45",
            "sha256:0d80db6a0977d5ade37d5d248772c0e9aaa1b6c898ddb31b26c803ee1a9f57a2",
            "sha256:28e03088bc157bfe42d66970cf7f47de35821aabaece5f767804902a8fa1d779",
            "sha256:2c3d7750fa05a52d63169a54cb95f1c7415cff5abe04d8e8f083b1a66a7a90fc",
            "sha256:418eda943d8d99d77490798330feb2fe1bf339821c6e7f6a316f5f49f597fa40",
            "sha256:06a1f32472403fd53c9111fb980487a0cb32c74326d0e86b4dee72c0f3d19922",
            "sha256:5f7a708450e3b4ba4ab4f748eb69eede08cdce541dd8280a3ad57dbf6a0d1ed2"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-08-28T13:39:35.834048613+08:00"
    }
}

更多版本

docker.io/python:3.11.9-alpine3.18

linux/amd64 docker.io52.26MB2024-04-07 14:41
575

docker.io/python:3.10-alpine3.20

linux/amd64 docker.io55.68MB2024-06-19 11:04
521

docker.io/python:alpine3.20

linux/arm64 docker.io57.22MB2024-06-21 18:46
435

docker.io/python:3.11-slim-bookworm

linux/amd64 docker.io130.78MB2024-06-24 13:15
604

docker.io/python:3.12-alpine

linux/arm64 docker.io57.22MB2024-06-28 11:33
456

docker.io/python:3.12.4-alpine

linux/arm64 docker.io57.22MB2024-06-28 11:39
457

docker.io/python:3.9-alpine

linux/amd64 docker.io48.00MB2024-06-29 09:52
592

docker.io/python:3.12-slim

linux/amd64 docker.io129.50MB2024-07-09 16:34
920

docker.io/python:3.10.14

linux/amd64 docker.io1.00GB2024-07-12 11:36
689

docker.io/python:3-slim

linux/amd64 docker.io129.50MB2024-07-16 13:54
238

docker.io/python:3.12

linux/amd64 docker.io1.02GB2024-07-24 19:53
819

docker.io/python:3.9-slim

linux/amd64 docker.io125.32MB2024-08-05 17:37
1149

docker.io/python:3.9-slim-bookworm

linux/amd64 docker.io125.32MB2024-08-11 16:38
210

docker.io/python:3.11

linux/amd64 docker.io1.01GB2024-08-12 12:30
524

docker.io/python:3.11.9

linux/amd64 docker.io1.01GB2024-08-14 16:12
387

docker.io/python:3.11-slim

linux/amd64 docker.io129.91MB2024-08-15 16:05
728

docker.io/python:3.12.5-slim-bullseye

linux/amd64 docker.io128.56MB2024-08-27 13:31
187

docker.io/python:3.12.5-bullseye

linux/amd64 docker.io932.81MB2024-08-27 13:34
122

docker.io/python:3.11.9-slim-bullseye

linux/amd64 docker.io127.34MB2024-08-27 14:30
183

docker.io/python:3.12.5-bookworm

linux/amd64 docker.io1.02GB2024-08-28 13:39
147

docker.io/python:3.10.14-bookworm

linux/amd64 docker.io1.00GB2024-08-28 17:01
137

docker.io/python:2.7

linux/amd64 docker.io901.78MB2024-09-03 12:46
223

docker.io/python:3.10.11-slim-buster

linux/arm64 docker.io111.38MB2024-09-03 17:57
223

docker.io/python:3.6.15-alpine

linux/amd64 docker.io40.67MB2024-09-24 16:50
132

docker.io/python:3.11.10-bookworm

linux/amd64 docker.io1.01GB2024-09-29 18:03
112

docker.io/python:3.10-slim

linux/amd64 docker.io126.97MB2024-10-11 11:54
314

docker.io/python:3.9

linux/amd64 docker.io996.67MB2024-10-11 16:02
232

docker.io/python:3.13.0

linux/amd64 docker.io1.02GB2024-10-12 13:46
135

docker.io/python:3.9.16-bullseye

linux/amd64 docker.io906.48MB2024-10-14 20:15
99

docker.io/python:3.9.16-slim-bullseye

linux/amd64 docker.io124.14MB2024-10-14 21:18
87

docker.io/python:3.8.16-slim-buster

linux/amd64 docker.io116.19MB2024-10-17 08:54
104

docker.io/python:3.13.0-slim-bullseye

linux/amd64 docker.io120.18MB2024-10-17 14:13
166

docker.io/python:3.11.1

linux/amd64 docker.io924.72MB2024-10-23 10:03
84

docker.io/python:3.10-slim-bookworm

linux/amd64 docker.io127.17MB2024-10-23 13:49
167

docker.io/python:2.7.18

linux/arm64 docker.io847.21MB2024-10-29 17:30
51

docker.io/python:3.10.15-bullseye

linux/amd64 docker.io914.55MB2024-10-31 15:42
66

docker.io/python:3.10.15-bookworm

linux/amd64 docker.io1.00GB2024-10-31 15:47
185

docker.io/python:3.7.17

linux/amd64 docker.io993.93MB2024-11-05 14:12
42

docker.io/python:3.8-slim

linux/amd64 docker.io124.73MB2024-11-05 19:26
44

docker.io/python:3.6.11

linux/arm64 docker.io819.35MB2024-11-11 16:34
24

docker.io/python:3.6.12

linux/arm64 docker.io820.25MB2024-11-11 17:09
24

docker.io/python:3.6.11

linux/arm docker.io684.65MB2024-11-11 17:37
17

docker.io/python:3.10-slim-bookworm

linux/arm64 docker.io152.67MB2024-11-14 15:15
24

docker.io/python:3.13-slim

linux/amd64 docker.io120.78MB2024-11-14 18:04
25

docker.io/python:3.12.7-alpine

linux/amd64 docker.io53.72MB2024-11-15 13:32
27

docker.io/python:3.12.7-slim

linux/amd64 docker.io124.31MB2024-11-15 14:03
28