docker.io/gcc:4.8.5 linux/amd64

docker.io/gcc:4.8.5 - 国内下载镜像源 浏览次数:43

GCC Docker Image Description

GCC(GNU Compiler Collection)是一个开源编译器套件,可以用于编译C、C++、Fortran和其他语言的程序。这个Docker镜像提供了一个基于GCC的编译环境,可以用来开发、编译和运行各种类型的程序。
源镜像 docker.io/gcc:4.8.5
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/gcc:4.8.5
镜像ID sha256:4e41303e90cbd46bb8c413e58aaa1778f47203d3862783a10f79fdc1908d3883
镜像TAG 4.8.5
大小 1.06GB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD /bin/bash
启动入口
工作目录
OS/平台 linux/amd64
浏览量 43 次
贡献者
镜像创建 2016-05-24T11:33:51.553122355Z
同步时间 2025-03-13 15:25
更新时间 2025-04-03 18:34
环境变量
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 GCC_VERSION=4.8.5

Docker拉取命令

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像构建历史


# 2016-05-24 19:33:51  10.26KB 
/bin/sh -c set -x 	&& dpkg-divert --divert /usr/bin/gcc.orig --rename /usr/bin/gcc 	&& dpkg-divert --divert /usr/bin/g++.orig --rename /usr/bin/g++ 	&& update-alternatives --install /usr/bin/cc cc /usr/local/bin/gcc 999
                        
# 2016-05-24 19:33:49  45.01KB 
/bin/sh -c echo '/usr/local/lib64' > /etc/ld.so.conf.d/local-lib64.conf 	&& ldconfig -v
                        
# 2016-05-24 19:32:45  596.31MB 
/bin/sh -c buildDeps='flex' 	&& set -x 	&& apt-get update && apt-get install -y $buildDeps --no-install-recommends 	&& rm -r /var/lib/apt/lists/* 	&& curl -fSL "http://ftpmirror.gnu.org/gcc/gcc-$GCC_VERSION/gcc-$GCC_VERSION.tar.bz2" -o gcc.tar.bz2 	&& curl -fSL "http://ftpmirror.gnu.org/gcc/gcc-$GCC_VERSION/gcc-$GCC_VERSION.tar.bz2.sig" -o gcc.tar.bz2.sig 	&& gpg --batch --verify gcc.tar.bz2.sig gcc.tar.bz2 	&& mkdir -p /usr/src/gcc 	&& tar -xf gcc.tar.bz2 -C /usr/src/gcc --strip-components=1 	&& rm gcc.tar.bz2* 	&& cd /usr/src/gcc 	&& ./contrib/download_prerequisites 	&& { rm *.tar.* || true; } 	&& dir="$(mktemp -d)" 	&& cd "$dir" 	&& /usr/src/gcc/configure 		--disable-multilib 		--enable-languages=c,c++ 	&& make -j"$(nproc)" 	&& make install-strip 	&& cd .. 	&& rm -rf "$dir" 	&& apt-get purge -y --auto-remove $buildDeps
                        
# 2016-05-24 18:55:02  0.00B 
/bin/sh -c #(nop) ENV GCC_VERSION=4.8.5
                        
# 2016-05-24 18:55:01  140.80KB 
/bin/sh -c set -xe 	&& for key in $GPG_KEYS; do 		gpg --keyserver ha.pool.sks-keyservers.net --recv-keys "$key"; 	done
                        
# 2016-05-24 18:54:56  0.00B 
/bin/sh -c #(nop) ENV GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A 	B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 	90AA470469D3965A87A5DCB494D03953902C9419 	80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 	7F74F97C103468EE5D750B583AB00996FC26A641 	33C235A34C46AA3FFB293709A328C3A2C3C45C06
                        
# 2016-05-24 07:08:56  253.29MB 
/bin/sh -c apt-get update && apt-get install -y --no-install-recommends 		autoconf 		automake 		bzip2 		file 		g++ 		gcc 		imagemagick 		libbz2-dev 		libc6-dev 		libcurl4-openssl-dev 		libdb-dev 		libevent-dev 		libffi-dev 		libgeoip-dev 		libglib2.0-dev 		libjpeg-dev 		liblzma-dev 		libmagickcore-dev 		libmagickwand-dev 		libmysqlclient-dev 		libncurses-dev 		libpng-dev 		libpq-dev 		libreadline-dev 		libsqlite3-dev 		libssl-dev 		libtool 		libwebp-dev 		libxml2-dev 		libxslt-dev 		libyaml-dev 		make 		patch 		xz-utils 		zlib1g-dev 	&& rm -rf /var/lib/apt/lists/*
                        
# 2016-05-24 07:07:52  110.03MB 
/bin/sh -c apt-get update && apt-get install -y --no-install-recommends 		bzr 		git 		mercurial 		openssh-client 		subversion 				procps 	&& rm -rf /var/lib/apt/lists/*
                        
# 2016-05-24 07:07:29  14.19MB 
/bin/sh -c apt-get update && apt-get install -y --no-install-recommends 		ca-certificates 		curl 		wget 	&& rm -rf /var/lib/apt/lists/*
                        
# 2016-05-24 06:59:08  0.00B 
/bin/sh -c #(nop) CMD ["/bin/bash"]
                        
# 2016-05-24 06:59:05  84.92MB 
/bin/sh -c #(nop) ADD file:3824d71f52db3031521c744e8cf55498f40520668758c7574cf55cb86574a339 in /
                        
                    

镜像信息

{
    "Id": "sha256:4e41303e90cbd46bb8c413e58aaa1778f47203d3862783a10f79fdc1908d3883",
    "RepoTags": [
        "gcc:4.8.5",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/gcc:4.8.5"
    ],
    "RepoDigests": [
        "gcc@sha256:a515c9a2b8bf7d0f91470f7315be90862e249e6f4caa9f0d71898d3f2be8c280",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/gcc@sha256:2f9a3d8667740d66a6c8a882f591684355dfec2138cbb588a227d5f7b544ed39"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2016-05-24T11:33:51.553122355Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "1.9.1",
    "Author": "",
    "Config": {
        "Hostname": "2b4d630a898b",
        "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",
            "GCC_VERSION=4.8.5"
        ],
        "Cmd": [
            "/bin/bash"
        ],
        "Image": "586fef260d8b5b679228dbe475cc3c4c002d48b0311dd828988abc4e4df8d9fe",
        "Volumes": null,
        "WorkingDir": "",
        "Entrypoint": null,
        "OnBuild": [],
        "Labels": {}
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 1058931141,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/67134b8f05ca42b1653be92d850864044384e7d4f1e88dd43113bd12d0b8efc1/diff:/var/lib/docker/overlay2/c547b04452b9242fa9770d432519050bda6d15dd71912d0a9d4b2df33c830a84/diff:/var/lib/docker/overlay2/713cb19b6ee22b0c368361a8cc6b999cedf41d54ab41c0be6c4533ca85b0086a/diff:/var/lib/docker/overlay2/473663cc58592863340fdcfe6adc8c6f24859328526c82c11e3154c63664df3d/diff:/var/lib/docker/overlay2/1bae91178b842cf6dfa768f59185b4492c2643c77bdd9766d5ef86dbf76b18be/diff:/var/lib/docker/overlay2/1a018246fec5907e15f8c6c12a7e48f19e7768141ffecb3eb01733157051c040/diff:/var/lib/docker/overlay2/cb5e7558178c939aac2cb7f7aca7381f9e8d8035960e3043cb2ecdc89ebab531/diff:/var/lib/docker/overlay2/45be94990dee733a33d5cb3ed0032a87622d6df4ad43f75271627e5f0e8cb5f8/diff:/var/lib/docker/overlay2/d42af824d466e4cf1030891f7084598570a6257d4541d658716e33789f7dea71/diff:/var/lib/docker/overlay2/11cf371f6654a1feb550a18d46d8509c2931c6c8745c49d514b7584b6a036ac8/diff",
            "MergedDir": "/var/lib/docker/overlay2/b15da102057f9e55e0ea45096607851190104ba53b10cd15aee1349914eca138/merged",
            "UpperDir": "/var/lib/docker/overlay2/b15da102057f9e55e0ea45096607851190104ba53b10cd15aee1349914eca138/diff",
            "WorkDir": "/var/lib/docker/overlay2/b15da102057f9e55e0ea45096607851190104ba53b10cd15aee1349914eca138/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:a257217169845e9c558632d56d0a147ca86a41d40997fb1ea195ce447acbee03",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
            "sha256:ffe030c5171145e3a5f24f834b28f5555adb34458e2516abe8f048104e341471",
            "sha256:91d8d71dbf73882509005cfd9fffda5ee56d326fd2c2c4745df9d021f4889b0a",
            "sha256:9ad6fd136e10982dbb616b39b0296a5d452aba03e60a3b5d08ea5b48517c16f8",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
            "sha256:8e65ce1a3ceb5dbaee3992454678f1e6685eacf4b8230351049e0e53f3b0674d",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
            "sha256:912e70439b1bd1832752f0fd4f33ddea206cc26fc0978e4801847af6bf03d433",
            "sha256:4012909ecda90870aa179c5c0b07d069f363374eff8e5bbbee467fa4732c5e67",
            "sha256:8c2085d8f614718ed48290a8a99a52af82aade9264b93a7511bd3b0d7cf12440"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-03-13T15:24:28.433329931+08:00"
    }
}

更多版本

docker.io/gcc:13.3

linux/amd64 docker.io1.39GB2024-07-03 15:43
249

docker.io/gcc:14

linux/amd64 docker.io1.42GB2024-08-09 09:10
352

docker.io/gcc:11.2.0-bullseye

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

docker.io/gcc:latest

linux/arm64 docker.io1.39GB2024-11-04 11:58
145

docker.io/gcc:4.8.5

linux/amd64 docker.io1.06GB2025-03-13 15:25
42