ghcr.io/su-kaka/gcli2api:master-067666d linux/amd64

ghcr.io/su-kaka/gcli2api:master-067666d - 国内下载镜像源 浏览次数:10
源镜像 ghcr.io/su-kaka/gcli2api:master-067666d
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/su-kaka/gcli2api:master-067666d
镜像ID sha256:2b42a567f836a73717dbf0ad12f98f703241b5604e8684307c85419f00ee9f7a
镜像TAG master-067666d
大小 160.47MB
镜像源 ghcr.io
CMD python web.py
启动入口
工作目录 /app
OS/平台 linux/amd64
浏览量 10 次
贡献者 sa*****s@qq.com
镜像创建 2025-08-28T17:18:45.996577801Z
同步时间 2025-08-29 08:51
更新时间 2025-08-29 19:38
环境变量
PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin GPG_KEY=7169605F62C751356D054A26A821E680E5FA6305 PYTHON_VERSION=3.13.7 PYTHON_SHA256=5462f9099dfd30e238def83c71d91897d8caa5ff6ebc7a50f14d4802cdaaa79a
镜像标签
2025-08-28T17:18:37.636Z: org.opencontainers.image.created : org.opencontainers.image.description NOASSERTION: org.opencontainers.image.licenses 067666d5160a28e74c0cec2765d8595e71519f24: org.opencontainers.image.revision https://github.com/su-kaka/gcli2api: org.opencontainers.image.source gcli2api: org.opencontainers.image.title https://github.com/su-kaka/gcli2api: org.opencontainers.image.url master: org.opencontainers.image.version

Docker拉取命令

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/su-kaka/gcli2api:master-067666d
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/su-kaka/gcli2api:master-067666d  ghcr.io/su-kaka/gcli2api:master-067666d

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/su-kaka/gcli2api:master-067666d
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/su-kaka/gcli2api:master-067666d  ghcr.io/su-kaka/gcli2api:master-067666d

Shell快速替换命令

sed -i 's#ghcr.io/su-kaka/gcli2api:master-067666d#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/su-kaka/gcli2api:master-067666d#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/su-kaka/gcli2api:master-067666d && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/su-kaka/gcli2api:master-067666d  ghcr.io/su-kaka/gcli2api:master-067666d'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/su-kaka/gcli2api:master-067666d && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/su-kaka/gcli2api:master-067666d  ghcr.io/su-kaka/gcli2api:master-067666d'

镜像构建历史


# 2025-08-29 01:18:45  0.00B 设置默认要执行的命令
CMD ["python" "web.py"]
                        
# 2025-08-29 01:18:45  879.52KB 复制新文件或目录到容器中
COPY . . # buildkit
                        
# 2025-08-28 22:14:26  42.14MB 执行命令并创建新的镜像层
RUN /bin/sh -c pip install -r requirements.txt # buildkit
                        
# 2025-08-28 22:14:20  124.00B 复制新文件或目录到容器中
COPY requirements.txt . # buildkit
                        
# 2025-08-23 10:13:01  0.00B 设置工作目录为/app
WORKDIR /app
                        
# 2025-08-15 05:49:23  0.00B 设置默认要执行的命令
CMD ["python3"]
                        
# 2025-08-15 05:49:23  36.00B 执行命令并创建新的镜像层
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
                        
# 2025-08-15 05:49:23  35.04MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; 		savedAptMark="$(apt-mark showmanual)"; 	apt-get update; 	apt-get install -y --no-install-recommends 		dpkg-dev 		gcc 		gnupg 		libbluetooth-dev 		libbz2-dev 		libc6-dev 		libdb-dev 		libffi-dev 		libgdbm-dev 		liblzma-dev 		libncursesw5-dev 		libreadline-dev 		libsqlite3-dev 		libssl-dev 		make 		tk-dev 		uuid-dev 		wget 		xz-utils 		zlib1g-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-optimizations 		--enable-option-checking=fatal 		--enable-shared 		$(test "${gnuArch%%-*}" != 'riscv64' && echo '--with-lto') 		--with-ensurepip 	; 	nproc="$(nproc)"; 	EXTRA_CFLAGS="$(dpkg-buildflags --get CFLAGS)"; 	LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; 	LDFLAGS="${LDFLAGS:--Wl},--strip-all"; 		arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; 		case "$arch" in 			amd64|arm64) 				EXTRA_CFLAGS="${EXTRA_CFLAGS:-} -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"; 				;; 			i386) 				;; 			*) 				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 '{}' + 	; 		ldconfig; 		apt-mark auto '.*' > /dev/null; 	apt-mark manual $savedAptMark; 	find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec ldd '{}' ';' 		| awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' 		| sort -u 		| xargs -rt dpkg-query --search 		| awk 'sub(":$", "", $1) { print $1 }' 		| sort -u 		| xargs -r apt-mark manual 	; 	apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; 	apt-get dist-clean; 		export PYTHONDONTWRITEBYTECODE=1; 	python3 --version; 	pip3 --version # buildkit
                        
# 2025-08-15 05:49:23  0.00B 设置环境变量 PYTHON_SHA256
ENV PYTHON_SHA256=5462f9099dfd30e238def83c71d91897d8caa5ff6ebc7a50f14d4802cdaaa79a
                        
# 2025-08-15 05:49:23  0.00B 设置环境变量 PYTHON_VERSION
ENV PYTHON_VERSION=3.13.7
                        
# 2025-08-15 05:49:23  0.00B 设置环境变量 GPG_KEY
ENV GPG_KEY=7169605F62C751356D054A26A821E680E5FA6305
                        
# 2025-08-15 05:49:23  3.80MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; 	apt-get update; 	apt-get install -y --no-install-recommends 		ca-certificates 		netbase 		tzdata 	; 	apt-get dist-clean # buildkit
                        
# 2025-08-15 05:49:23  0.00B 设置环境变量 PATH
ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
                        
# 2025-08-11 08:00:00  78.61MB 
# debian.sh --arch 'amd64' out/ 'trixie' '@1754870400'
                        
                    

镜像信息

{
    "Id": "sha256:2b42a567f836a73717dbf0ad12f98f703241b5604e8684307c85419f00ee9f7a",
    "RepoTags": [
        "ghcr.io/su-kaka/gcli2api:master-067666d",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/su-kaka/gcli2api:master-067666d"
    ],
    "RepoDigests": [
        "ghcr.io/su-kaka/gcli2api@sha256:b75483f5432a5243e8bbdefed39a8c0a87d2294b489b35f17c600b4cd5db3fc3",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/su-kaka/gcli2api@sha256:4626195de472631ec51f9ccda94e24774b9a0ee3d99f7e469c34ffc107234841"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2025-08-28T17:18:45.996577801Z",
    "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",
            "GPG_KEY=7169605F62C751356D054A26A821E680E5FA6305",
            "PYTHON_VERSION=3.13.7",
            "PYTHON_SHA256=5462f9099dfd30e238def83c71d91897d8caa5ff6ebc7a50f14d4802cdaaa79a"
        ],
        "Cmd": [
            "python",
            "web.py"
        ],
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": null,
        "WorkingDir": "/app",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": {
            "org.opencontainers.image.created": "2025-08-28T17:18:37.636Z",
            "org.opencontainers.image.description": "",
            "org.opencontainers.image.licenses": "NOASSERTION",
            "org.opencontainers.image.revision": "067666d5160a28e74c0cec2765d8595e71519f24",
            "org.opencontainers.image.source": "https://github.com/su-kaka/gcli2api",
            "org.opencontainers.image.title": "gcli2api",
            "org.opencontainers.image.url": "https://github.com/su-kaka/gcli2api",
            "org.opencontainers.image.version": "master"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 160473674,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/00454413367ba0c09e9bf44a01aa80f20668002259cfad6bbfc0306e7aa86f36/diff:/var/lib/docker/overlay2/67016db357d74aa77cb7a4619da5b4faead630b1e10b20674de80986d7758204/diff:/var/lib/docker/overlay2/c7ff6e2a8316e752aa5ef346af5669d5318befcb842bd55cc0298a9a3d591f45/diff:/var/lib/docker/overlay2/94dd15f1b2e1a690bc5e43c262585505fead3060cfe00413455a992c58b46a0c/diff:/var/lib/docker/overlay2/34272ad6504bf9264c045888cff6a230e81a832032fe078426218cc8cd62be86/diff:/var/lib/docker/overlay2/7cd4645035dbc8c741d9ae1649b4ffa474b6a469caf2781f798d27abcb387e8b/diff:/var/lib/docker/overlay2/ef45b84af3a231832fc4534ad73d5d123a2dd43eccb32b2d994d74aff3182e1a/diff",
            "MergedDir": "/var/lib/docker/overlay2/87455fd106c72ed498e9a72e8fe06ad52cd7fa3e28e925015e32facbe686c36c/merged",
            "UpperDir": "/var/lib/docker/overlay2/87455fd106c72ed498e9a72e8fe06ad52cd7fa3e28e925015e32facbe686c36c/diff",
            "WorkDir": "/var/lib/docker/overlay2/87455fd106c72ed498e9a72e8fe06ad52cd7fa3e28e925015e32facbe686c36c/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:e6a3842ebc7f5e41d8a38f19a0aa5ea56c255475695ac6682882420800cf5465",
            "sha256:137252d0f1b58640717db6a4ac0b6e5cf9535ed64d4bc6c1da648176224afa37",
            "sha256:86712a06d78e176954becca6c80d0e78c878cf9247adb8e4ac63aee183240d3c",
            "sha256:3fd8efb4e065f6c304dbc4efe56639704fcb7f55fe6b831d11de7f7ec53751e1",
            "sha256:0a3a0ad0bb2c87984fe13f270a4de7e26552c07c9f00096496d082943eb9ef06",
            "sha256:7207b4773b8fc0b2ce468cb96928bfdf885899e0cc338f2dc94ef792f5535f05",
            "sha256:cd80ac2c7c8e1f88085fade697c101ab607eb8e29140abcf3a3d5103c1e5f6c3",
            "sha256:145eb2e27ecb98a65c86dab1ad8034887228de56893e2a274380d8438c558ee1"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-08-29T08:51:02.345639553+08:00"
    }
}

更多版本

ghcr.io/su-kaka/gcli2api:latest

linux/amd64 ghcr.io157.58MB2025-08-27 19:53
25

ghcr.io/su-kaka/gcli2api:master-abbfdea

linux/amd64 ghcr.io157.64MB2025-08-28 16:28
19

ghcr.io/su-kaka/gcli2api:master-067666d

linux/amd64 ghcr.io160.47MB2025-08-29 08:51
9