docker.io/gcc:14 linux/amd64

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

GCC Docker Image Description

GCC(GNU Compiler Collection)是一个开源编译器套件,可以用于编译C、C++、Fortran和其他语言的程序。这个Docker镜像提供了一个基于GCC的编译环境,可以用来开发、编译和运行各种类型的程序。
源镜像 docker.io/gcc:14
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/gcc:14
镜像ID sha256:70fdffb57c37a1221b7280a42bdf0e86157780f99dab5e78e3264aeea2710bf5
镜像TAG 14
大小 1.42GB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD bash
启动入口
工作目录
OS/平台 linux/amd64
浏览量 236 次
贡献者
镜像创建 2024-08-01T14:25:18Z
同步时间 2024-08-09 09:10
更新时间 2024-12-21 21:12
环境变量
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 https://sourceware.org/pub/gcc/releases ftp://ftp.gnu.org/gnu/gcc GCC_VERSION=14.2.0

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像历史

大小 创建时间 层信息
11.59KB 2024-08-01 22:25:18 RUN /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 # buildkit
42.23KB 2024-08-01 22:25:18 RUN /bin/sh -c set -ex; { echo '/usr/local/lib64'; echo '/usr/local/lib'; } > /etc/ld.so.conf.d/000-local-lib.conf; ldconfig -v; deb="$(readlink -ve /usr/lib/*/libstdc++.so* | head -1)"; gcc="$(readlink -ve /usr/local/lib*/libstdc++.so | head -1)"; LD_PRELOAD="$deb" abidiff --no-added-syms "$deb" "$gcc" # buildkit
486.36MB 2024-08-01 22:25:18 RUN /bin/sh -c set -ex; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends dpkg-dev flex gnupg ; 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'; export GNUPGHOME="$(mktemp -d)"; for key in $GPG_KEYS; do gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key"; done; gpg --batch --verify gcc.tar.xz.sig gcc.tar.xz; gpgconf --kill all; rm -rf "$GNUPGHOME"; 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=armv5te --with-float=soft" ;; armhf) extraConfigureArgs="$extraConfigureArgs --with-arch=armv7-a+fp --with-float=hard --with-mode=thumb" ;; i386) extraConfigureArgs="$extraConfigureArgs --with-arch-32=i686"; ;; 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 # buildkit
0.00B 2024-08-01 22:25:18 ENV GCC_VERSION=14.2.0
0.00B 2024-08-01 22:25:18 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 https://sourceware.org/pub/gcc/releases ftp://ftp.gnu.org/gnu/gcc
0.00B 2024-08-01 22:25:18 ENV GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62
6.70MB 2024-08-01 22:25:18 RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends abigail-tools ; rm -rf /var/lib/apt/lists/* # buildkit
587.41MB 2024-07-23 14:07:46 /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-07-23 14:06:50 /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-07-23 14:06:32 /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-07-23 13:24:03 /bin/sh -c #(nop) CMD ["bash"]
116.51MB 2024-07-23 13:24:03 /bin/sh -c #(nop) ADD file:430cca9ad155514d8c818e860e66e2aeccfb6230874d4faf446a1d0c2fc1054f in /

镜像信息

{
    "Id": "sha256:70fdffb57c37a1221b7280a42bdf0e86157780f99dab5e78e3264aeea2710bf5",
    "RepoTags": [
        "gcc:14",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/gcc:14"
    ],
    "RepoDigests": [
        "gcc@sha256:97c161396b14058f663120e0b001588e1bb2f2eaef1c886ae5e53c02b2791daf",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/gcc@sha256:25b724a24684124e23e29a8741ea1cd3e31234b41fb206cbb57960c4101ee420"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-08-01T14:25:18Z",
    "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/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\thttps://sourceware.org/pub/gcc/releases \t\tftp://ftp.gnu.org/gnu/gcc",
            "GCC_VERSION=14.2.0"
        ],
        "Cmd": [
            "bash"
        ],
        "Image": "",
        "Volumes": null,
        "WorkingDir": "",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 1422164471,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/32b2d835779d99d2584a3a44e9d74ba3340ae958f1904ee5a337a9d3cc79f30f/diff:/var/lib/docker/overlay2/1a1cac271702ce71651d8141cc85c3ef11e1b580e23372211927cf075284e3a1/diff:/var/lib/docker/overlay2/6926076bc20ac23f6db827ffb5208e2e963232f2cd524e34de5d47a7f261f672/diff:/var/lib/docker/overlay2/9e12ee5922043944db2cc12142acc614a4323069ed09baf11d16a4706e430deb/diff:/var/lib/docker/overlay2/da03dc61d7fe4fc49edd7cf326630c19a3b0b05430ae28c14610e930628da166/diff:/var/lib/docker/overlay2/2de2acd2846a9dfd039cb987c535dda2852886b1cac9ad5cdb29283ce33686de/diff:/var/lib/docker/overlay2/51771a51d7e009f5eda95ceae20bc59847339883225d0cbc6b0fd10dc0b2aa5c/diff",
            "MergedDir": "/var/lib/docker/overlay2/211765488fab13cfdb15bdc44da3953a6920081643f58b3449a0fb73cf794618/merged",
            "UpperDir": "/var/lib/docker/overlay2/211765488fab13cfdb15bdc44da3953a6920081643f58b3449a0fb73cf794618/diff",
            "WorkDir": "/var/lib/docker/overlay2/211765488fab13cfdb15bdc44da3953a6920081643f58b3449a0fb73cf794618/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:f6faf32734e0870d82ea890737958fe33ce9ddfed27b3b157576d2aadbab3322",
            "sha256:7cfafa82cfd2b6a92aeb90093e38fb88fa4377948d71bd970d11a51bae16d2f1",
            "sha256:0905150af928fc88e784dcad5ba98d5f3c2ab28c51c30ac7c7aa8599100cf02f",
            "sha256:ffe60aac26fce04aa507ee52ebf97f2da44fa5a2b475099d4260349c3e1cc329",
            "sha256:75912228ef4492118516a6eae6fffc33059989b098c89f09cfa348b650fd590d",
            "sha256:7abb0c6cd2f5040ffa3bd9194c01f41846cc68304da69ea47e40499c3ae3b04a",
            "sha256:f4f5bcbad13e1643180c9a4d38cc1046bdecdd33b7cc347e2f9cbd5de8838ef6",
            "sha256:2755a34b5fb32d5b11c29c44240e2f090c91aad5db617a5a446febd5c7e82753"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-08-09T09:10:01.62518904+08:00"
    }
}

更多版本

docker.io/gcc:13.3

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

docker.io/gcc:14

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

docker.io/gcc:11.2.0-bullseye

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

docker.io/gcc:latest

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