docker.io/library/gcc:11.2.0-bullseye linux/amd64

docker.io/library/gcc:11.2.0-bullseye - 国内下载镜像源 浏览次数:106 安全受验证的发布者-Docker

GCC镜像描述

GCC是一个功能强大且广泛使用的编译器工具链,可以用来编译C、C++和Fortran等语言。GCC镜像提供了一个完整的开发环境,可以用于编译、调试和运行各种类型的程序。 GCC镜像支持多种平台,包括Linux、Windows和 macOS等,可以满足不同项目的需求。
源镜像 docker.io/library/gcc:11.2.0-bullseye
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/gcc:11.2.0-bullseye
镜像ID sha256:c2968a627869aee6b83287fdf939dca17ded4ae20583228eaeac0fb2ec56d024
镜像TAG 11.2.0-bullseye
大小 1.23GB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD bash
启动入口
工作目录
OS/平台 linux/amd64
浏览量 106 次
贡献者
镜像创建 2022-04-20T20:15:54.678230051Z
同步时间 2024-09-30 16:44
更新时间 2025-01-18 16:06
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62 GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://mirrors.kernel.org/gnu/gcc https://bigsearcher.com/mirrors/gcc/releases http://www.netgull.com/gcc/releases https://ftpmirror.gnu.org/gcc ftp://ftp.gnu.org/gnu/gcc GCC_VERSION=11.2.0

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

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/gcc:11.2.0-bullseye
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/gcc:11.2.0-bullseye  docker.io/library/gcc:11.2.0-bullseye

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/gcc:11.2.0-bullseye
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/gcc:11.2.0-bullseye  docker.io/library/gcc:11.2.0-bullseye

Shell快速替换命令

sed -i 's#library/gcc:11.2.0-bullseye#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/gcc:11.2.0-bullseye#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/gcc:11.2.0-bullseye && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/gcc:11.2.0-bullseye  docker.io/library/gcc:11.2.0-bullseye'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/gcc:11.2.0-bullseye && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/gcc:11.2.0-bullseye  docker.io/library/gcc:11.2.0-bullseye'

镜像构建历史


# 2022-04-21 04:15:54  12.41KB 
/bin/sh -c set -ex; 	dpkg-divert --divert /usr/bin/gcc.orig --rename /usr/bin/gcc; 	dpkg-divert --divert /usr/bin/g++.orig --rename /usr/bin/g++; 	dpkg-divert --divert /usr/bin/gfortran.orig --rename /usr/bin/gfortran; 	update-alternatives --install /usr/bin/cc cc /usr/local/bin/gcc 999
                        
# 2022-04-21 04:15:54  49.78KB 
/bin/sh -c set -ex; 	{ echo '/usr/local/lib64'; echo '/usr/local/lib'; } > /etc/ld.so.conf.d/000-local-lib.conf; 	ldconfig -v
                        
# 2022-04-21 04:15:52  398.76MB 
/bin/sh -c set -ex; 		savedAptMark="$(apt-mark showmanual)"; 	apt-get update; 	apt-get install -y --no-install-recommends 		dpkg-dev 		flex 	; 	rm -r /var/lib/apt/lists/*; 		_fetch() { 		local fetch="$1"; shift; 		local file="$1"; shift; 		for mirror in $GCC_MIRRORS; do 			if curl -fL "$mirror/$fetch" -o "$file"; then 				return 0; 			fi; 		done; 		echo >&2 "error: failed to download '$fetch' from several mirrors"; 		return 1; 	}; 		_fetch "gcc-$GCC_VERSION/gcc-$GCC_VERSION.tar.xz.sig" 'gcc.tar.xz.sig'; 	_fetch "gcc-$GCC_VERSION/gcc-$GCC_VERSION.tar.xz" 'gcc.tar.xz'; 	gpg --batch --verify gcc.tar.xz.sig gcc.tar.xz; 	mkdir -p /usr/src/gcc; 	tar -xf gcc.tar.xz -C /usr/src/gcc --strip-components=1; 	rm gcc.tar.xz*; 		cd /usr/src/gcc; 		./contrib/download_prerequisites; 	{ rm *.tar.* || true; }; 		for f in config.guess config.sub; do 		wget -O "$f" "https://git.savannah.gnu.org/cgit/config.git/plain/$f?id=7d3d27baf8107b630586c962c057e22149653deb"; 		find -mindepth 2 -name "$f" -exec cp -v "$f" '{}' ';'; 	done; 		dir="$(mktemp -d)"; 	cd "$dir"; 		extraConfigureArgs=''; 	dpkgArch="$(dpkg --print-architecture)"; 	case "$dpkgArch" in 		armel) 			extraConfigureArgs="$extraConfigureArgs --with-arch=armv4t --with-float=soft" 			;; 		armhf) 			extraConfigureArgs="$extraConfigureArgs --with-arch=armv7-a --with-float=hard --with-fpu=vfpv3-d16 --with-mode=thumb" 			;; 				i386) 			osVersionID="$(set -e; . /etc/os-release; echo "$VERSION_ID")"; 			case "$osVersionID" in 				8) extraConfigureArgs="$extraConfigureArgs --with-arch-32=i586" ;; 				*) extraConfigureArgs="$extraConfigureArgs --with-arch-32=i686" ;; 			esac; 			;; 	esac; 		gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; 	/usr/src/gcc/configure 		--build="$gnuArch" 		--disable-multilib 		--enable-languages=c,c++,fortran,go 		$extraConfigureArgs 	; 	make -j "$(nproc)"; 	make install-strip; 		cd ..; 		rm -rf "$dir" /usr/src/gcc; 		apt-mark auto '.*' > /dev/null; 	[ -z "$savedAptMark" ] || apt-mark manual $savedAptMark; 	apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false
                        
# 2022-04-21 03:26:30  0.00B 
/bin/sh -c #(nop)  ENV GCC_VERSION=11.2.0
                        
# 2022-04-21 03:26:30  0.00B 
/bin/sh -c #(nop)  ENV GCC_MIRRORS=https://ftpmirror.gnu.org/gcc 		https://mirrors.kernel.org/gnu/gcc 		https://bigsearcher.com/mirrors/gcc/releases 		http://www.netgull.com/gcc/releases 		https://ftpmirror.gnu.org/gcc 		ftp://ftp.gnu.org/gnu/gcc
                        
# 2022-04-21 03:26:30  31.84KB 
/bin/sh -c set -ex; 	for key in $GPG_KEYS; do 		gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key"; 	done
                        
# 2022-04-21 03:26:26  0.00B 
/bin/sh -c #(nop)  ENV GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A 	B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 	90AA470469D3965A87A5DCB494D03953902C9419 	80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 	7F74F97C103468EE5D750B583AB00996FC26A641 	33C235A34C46AA3FFB293709A328C3A2C3C45C06 	D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62
                        
# 2022-04-21 03:26:25  0.00B 
/bin/sh -c set -ex; 	if ! command -v gpg > /dev/null; then 		apt-get update; 		apt-get install -y --no-install-recommends 			gnupg 			dirmngr 		; 		rm -rf /var/lib/apt/lists/*; 	fi
                        
# 2022-04-20 14:58:46  528.72MB 
/bin/sh -c set -ex; 	apt-get update; 	apt-get install -y --no-install-recommends 		autoconf 		automake 		bzip2 		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 				$( 			if apt-cache show 'default-libmysqlclient-dev' 2>/dev/null | grep -q '^Version:'; then 				echo 'default-libmysqlclient-dev'; 			else 				echo 'libmysqlclient-dev'; 			fi 		) 	; 	rm -rf /var/lib/apt/lists/*
                        
# 2022-04-20 14:58:03  151.94MB 
/bin/sh -c apt-get update && apt-get install -y --no-install-recommends 		git 		mercurial 		openssh-client 		subversion 				procps 	&& rm -rf /var/lib/apt/lists/*
                        
# 2022-04-20 14:57:48  18.95MB 
/bin/sh -c set -ex; 	if ! command -v gpg > /dev/null; then 		apt-get update; 		apt-get install -y --no-install-recommends 			gnupg 			dirmngr 		; 		rm -rf /var/lib/apt/lists/*; 	fi
                        
# 2022-04-20 14:57:42  10.69MB 
/bin/sh -c set -eux; 	apt-get update; 	apt-get install -y --no-install-recommends 		ca-certificates 		curl 		netbase 		wget 	; 	rm -rf /var/lib/apt/lists/*
                        
# 2022-04-20 12:43:16  0.00B 
/bin/sh -c #(nop)  CMD ["bash"]
                        
# 2022-04-20 12:43:15  123.91MB 
/bin/sh -c #(nop) ADD file:3a81c181c66f226bd6abd48d0c7ed8a9c599c9f521ec7229286c83161afec8c2 in / 
                        
                    

镜像信息

{
    "Id": "sha256:c2968a627869aee6b83287fdf939dca17ded4ae20583228eaeac0fb2ec56d024",
    "RepoTags": [
        "gcc:11.2.0-bullseye",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/gcc:11.2.0-bullseye",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/gcc:11.2.0-bullseye"
    ],
    "RepoDigests": [
        "gcc@sha256:0eaeaee298c154ecd383cabe5301a5df9fde0cd3a729124caf574500b936389b",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/gcc@sha256:2c5cae6b84598eb6865d6c7b340deef80e8834a4c4037a5cbba755a5258809d4",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/gcc@sha256:2c5cae6b84598eb6865d6c7b340deef80e8834a4c4037a5cbba755a5258809d4"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2022-04-20T20:15:54.678230051Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "20.10.12",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A \tB3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 \t90AA470469D3965A87A5DCB494D03953902C9419 \t80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C \t7F74F97C103468EE5D750B583AB00996FC26A641 \t33C235A34C46AA3FFB293709A328C3A2C3C45C06 \tD3A93CAD751C2AF4F8C7AD516C35B99309B5FA62",
            "GCC_MIRRORS=https://ftpmirror.gnu.org/gcc \t\thttps://mirrors.kernel.org/gnu/gcc \t\thttps://bigsearcher.com/mirrors/gcc/releases \t\thttp://www.netgull.com/gcc/releases \t\thttps://ftpmirror.gnu.org/gcc \t\tftp://ftp.gnu.org/gnu/gcc",
            "GCC_VERSION=11.2.0"
        ],
        "Cmd": [
            "bash"
        ],
        "Image": "sha256:849b7b3d11a0bbfdea3ca5a799b3c7cbe950dadc281e474a85ed13705e08f8b9",
        "Volumes": null,
        "WorkingDir": "",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 1233063663,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/8dc1c624829fdf2ea6de3f164628e2c856e8c91fd99e509d139b8cef496a971a/diff:/var/lib/docker/overlay2/44e55fe604decbd30b85e75efb0aa6da5e78b43ea7609dd748ff2c27ff006b60/diff:/var/lib/docker/overlay2/89decc4627ee1f290b668518aec948722d0f880c45a66b544b96f1731ad47501/diff:/var/lib/docker/overlay2/d75ccddc71519ed384e918b61faa91d6887b4e2a4165917b6ddb75a80b61a2bb/diff:/var/lib/docker/overlay2/f49eb364bc165a41dda5589c4fe59e1d06bd7a8b128143a9f7afbdcea31239e0/diff:/var/lib/docker/overlay2/acef897f97302ee4c647e0994dc6d3b3a182a141d8176f797c63e9ac327aa4e8/diff:/var/lib/docker/overlay2/e21cc26864b26a79fbfc7233b8fb7ba7652f9c24541551ca274ea43993b1b74f/diff:/var/lib/docker/overlay2/3fe2a665b26d23af6be212ab73791316d6b26ed3d5bfbfe05a4408fadb557e0c/diff",
            "MergedDir": "/var/lib/docker/overlay2/83deb964e3f97a59582f9f7e4c82c40a501ba2fa632e8ea1f74fbbec6d10d818/merged",
            "UpperDir": "/var/lib/docker/overlay2/83deb964e3f97a59582f9f7e4c82c40a501ba2fa632e8ea1f74fbbec6d10d818/diff",
            "WorkDir": "/var/lib/docker/overlay2/83deb964e3f97a59582f9f7e4c82c40a501ba2fa632e8ea1f74fbbec6d10d818/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:a13c519c6361b881ba38a452d05e130fc2ee26f0849f119936d747b96cf6a5c3",
            "sha256:bafdbe68e4aee5999c326aaa33571b595d6bfbea119742439588c3e0c1a56130",
            "sha256:a037458de4e074da622d972e28cfa275c246c684e06efdd28d39c0faa45cb633",
            "sha256:08fa02ce37ebdcd0029cf499ca859e0dc488d7725499063baf4481681e6da7ef",
            "sha256:5bdcc8e2060c976a390966445e46453b29dfb5e1860a3b96ded020a924472dc0",
            "sha256:619302e9f89b77b25e0accd57cc3a66db0424102f784902e647a3ef94d8c6051",
            "sha256:e7efad9ed848c11fa35446a9c6b1d9d7f576e6039718a14e6a2aa3f11041ac57",
            "sha256:281c03080a35f08f8ad44268f99b49f3fc75733a8cac1d14d99657eaefb376e2",
            "sha256:03a272dbe48db2f3d634c4103ceb40b6a143f68cb5c9eb2a01a96d0a41d6e311"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-09-30T16:44:45.824108516+08:00"
    }
}

更多版本

docker.io/library/gcc:13.3.0

linux/amd64 docker.io1.39GB2024-07-03 15:45
203

docker.io/library/gcc:11.2.0-bullseye

linux/amd64 docker.io1.23GB2024-09-30 16:44
105

docker.io/library/gcc:11.3

linux/amd64 docker.io1.22GB2024-11-12 20:40
56