docker.io/python:3.12.7-alpine linux/amd64

docker.io/python:3.12.7-alpine - 国内下载镜像源 浏览次数:27
🐳 Python Docker Image: .NET Framework 3.5/4.6/5.0 on Ubuntu/Linux
源镜像 docker.io/python:3.12.7-alpine
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/python:3.12.7-alpine
镜像ID sha256:909143fc10d22afa4fdac340091292c41fcc5913246c4f7a108a9a1092139da8
镜像TAG 3.12.7-alpine
大小 53.72MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD python3
启动入口
工作目录 /
OS/平台 linux/amd64
浏览量 27 次
贡献者
镜像创建 2024-10-18T23:23:40Z
同步时间 2024-11-15 13:32
更新时间 2024-11-21 15:51
环境变量
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.7 PYTHON_SHA256=24887b92e2afd4a2ac602419ad4b596372f67ac9b077190f459aba390faf5550
镜像安全扫描 查看Trivy扫描报告

系统OS: alpine 3.20.3 扫描引擎: Trivy 扫描时间: 2024-11-15 13:32

低危漏洞:0 中危漏洞:0 高危漏洞:0 严重漏洞:0

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像历史

大小 创建时间 层信息
0.00B 2024-10-19 07:23:40 CMD ["python3"]
36.00B 2024-10-19 07:23:40 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
44.92MB 2024-10-19 07:23:40 RUN /bin/sh -c set -eux; apk add --no-cache --virtual .build-deps gnupg tar xz bluez-dev bzip2-dev dpkg-dev dpkg 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"; 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 --with-lto --with-ensurepip ; nproc="$(nproc)"; EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000"; LDFLAGS="${LDFLAGS:--Wl},--strip-all"; 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
0.00B 2024-10-19 07:23:40 ENV PYTHON_SHA256=24887b92e2afd4a2ac602419ad4b596372f67ac9b077190f459aba390faf5550
0.00B 2024-10-19 07:23:40 ENV PYTHON_VERSION=3.12.7
0.00B 2024-10-19 07:23:40 ENV GPG_KEY=7169605F62C751356D054A26A821E680E5FA6305
999.45KB 2024-10-19 07:23:40 RUN /bin/sh -c set -eux; apk add --no-cache ca-certificates tzdata ; # buildkit
0.00B 2024-10-19 07:23:40 ENV LANG=C.UTF-8
0.00B 2024-10-19 07:23:40 ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
0.00B 2024-09-06 20:05:36 CMD ["/bin/sh"]
7.80MB 2024-09-06 20:05:36 ADD alpine-minirootfs-3.20.3-x86_64.tar.gz / # buildkit

镜像信息

{
    "Id": "sha256:909143fc10d22afa4fdac340091292c41fcc5913246c4f7a108a9a1092139da8",
    "RepoTags": [
        "python:3.12.7-alpine",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/python:3.12.7-alpine"
    ],
    "RepoDigests": [
        "python@sha256:5049c050bdc68575a10bcb1885baa0689b6c15152d8a56a7e399fb49f783bf98",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/python@sha256:632019f2f26113ff80761e63d7527c1b255ac1c608f2c09708c34b43364f198a"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-10-18T23:23:40Z",
    "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.7",
            "PYTHON_SHA256=24887b92e2afd4a2ac602419ad4b596372f67ac9b077190f459aba390faf5550"
        ],
        "Cmd": [
            "python3"
        ],
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": null,
        "WorkingDir": "/",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 53715886,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/9f48d7ad8c2b6c7a89e7f8cef43ea3e2427416252274e5c21edec28769f01d95/diff:/var/lib/docker/overlay2/dba7ae9cbf69db04d6af084d354daf9bc828b433750b286df65f27eb8539ca3e/diff:/var/lib/docker/overlay2/23c5724f3a35122d45237c48d0eec74bfb90f129834f1ecb674937c0af9f9db3/diff",
            "MergedDir": "/var/lib/docker/overlay2/0f66fee3613a145923422be11a630f9aa3294a0d68aa8ec4a71e71615038d560/merged",
            "UpperDir": "/var/lib/docker/overlay2/0f66fee3613a145923422be11a630f9aa3294a0d68aa8ec4a71e71615038d560/diff",
            "WorkDir": "/var/lib/docker/overlay2/0f66fee3613a145923422be11a630f9aa3294a0d68aa8ec4a71e71615038d560/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:75654b8eeebd3beae97271a102f57cdeb794cc91e442648544963a7e951e9558",
            "sha256:4b4c8ae580a12e28d7f3c48992a22fef13c765012ce525e6419c9195d408a513",
            "sha256:ec9bfa8fce5536b3cb7b5d12b59a6ce534ab8a6fa30fdb065d1e0ca9f83cb779",
            "sha256:38bd2ea718eade67ec47e18290496e37bbc97db36b91a2034ec763e7377a45fc"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-11-15T13:32:36.123037093+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
455

docker.io/python:3.12.4-alpine

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

docker.io/python:3.9-alpine

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

docker.io/python:3.12-slim

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

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
237

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
1148

docker.io/python:3.9-slim-bookworm

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

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
727

docker.io/python:3.12.5-slim-bullseye

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

docker.io/python:3.12.5-bullseye

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

docker.io/python:3.11.9-slim-bullseye

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

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
136

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
221

docker.io/python:3.6.15-alpine

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

docker.io/python:3.11.10-bookworm

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

docker.io/python:3.10-slim

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

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
98

docker.io/python:3.9.16-slim-bullseye

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

docker.io/python:3.8.16-slim-buster

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

docker.io/python:3.13.0-slim-bullseye

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

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
165

docker.io/python:2.7.18

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

docker.io/python:3.10.15-bullseye

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

docker.io/python:3.10.15-bookworm

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

docker.io/python:3.7.17

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

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
23

docker.io/python:3.6.12

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

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
23

docker.io/python:3.13-slim

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

docker.io/python:3.12.7-alpine

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

docker.io/python:3.12.7-slim

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