docker.io/library/gcc:11.3 linux/amd64

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

GCC镜像描述

GCC是一个功能强大且广泛使用的编译器工具链,可以用来编译C、C++和Fortran等语言。GCC镜像提供了一个完整的开发环境,可以用于编译、调试和运行各种类型的程序。 GCC镜像支持多种平台,包括Linux、Windows和 macOS等,可以满足不同项目的需求。
源镜像 docker.io/library/gcc:11.3
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/gcc:11.3
镜像ID sha256:7580976b875be5dc5b23bcf4508eadda56c1b361fffac29e5387e533087348ce
镜像TAG 11.3
大小 1.22GB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD bash
启动入口
工作目录
OS/平台 linux/amd64
浏览量 25 次
贡献者 31*******2@qq.com
镜像创建 2023-05-23T18:50:25.424524247Z
同步时间 2024-11-12 20:40
更新时间 2024-11-23 15:33
环境变量
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.3.0
镜像安全扫描 查看Trivy扫描报告

系统OS: debian 11.7 扫描引擎: Trivy 扫描时间: 2024-11-12 20:40

低危漏洞:872 中危漏洞:1976 高危漏洞:665 严重漏洞:41

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

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

Containerd拉取命令

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

Shell快速替换命令

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

Ansible快速分发-Docker

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

Ansible快速分发-Containerd

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

镜像历史

大小 创建时间 层信息
12.41KB 2023-05-24 02:50:25 /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
49.78KB 2023-05-24 02:50:24 /bin/sh -c set -ex; { echo '/usr/local/lib64'; echo '/usr/local/lib'; } > /etc/ld.so.conf.d/000-local-lib.conf; ldconfig -v
390.13MB 2023-05-24 02:50:23 /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=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
0.00B 2023-05-24 02:02:22 /bin/sh -c #(nop) ENV GCC_VERSION=11.3.0
0.00B 2023-05-24 01:08:34 /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
36.76KB 2023-05-24 01:08:34 /bin/sh -c set -ex; apt-get update; apt-get install -y --no-install-recommends gnupg ; rm -rf /var/lib/apt/lists/*; for key in $GPG_KEYS; do gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$key"; done
0.00B 2023-05-24 01:08:27 /bin/sh -c #(nop) ENV GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62
528.82MB 2023-05-23 09:49:57 /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/*
151.98MB 2023-05-23 09:48:29 /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/*
28.60MB 2023-05-23 09:48:11 /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates curl gnupg netbase wget ; rm -rf /var/lib/apt/lists/*
0.00B 2023-05-23 09:20:01 /bin/sh -c #(nop) CMD ["bash"]
124.13MB 2023-05-23 09:20:00 /bin/sh -c #(nop) ADD file:150a6453ab2258061c1a1549ab119df752bdc2c2c84028fa0e83a0663cd8cedf in /

镜像信息

{
    "Id": "sha256:7580976b875be5dc5b23bcf4508eadda56c1b361fffac29e5387e533087348ce",
    "RepoTags": [
        "gcc:11.3",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/gcc:11.3"
    ],
    "RepoDigests": [
        "gcc@sha256:396a90d889629f292b11b4e51536c79e3a8f0f4dfcdb732aa502982a58669a21",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/library/gcc@sha256:cfd724aeff4620db49dce1cf634fb9f9daffa57857be1a4499c7e21cc345670f"
    ],
    "Parent": "",
    "Comment": "",
    "Created": "2023-05-23T18:50:25.424524247Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "20.10.23",
    "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.3.0"
        ],
        "Cmd": [
            "bash"
        ],
        "Image": "sha256:2d96947ab3ef3dbf02dba30109324ffdac3d9b4b9a42ad67cba769c863a5daf6",
        "Volumes": null,
        "WorkingDir": "",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 1223767669,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/136e2d764f7f122a997b2103a56be9e7024f64d23ca961f770771d015216aa90/diff:/var/lib/docker/overlay2/7d6b3e13a0c276915b53f753e70ad10e2082d5ecdbf387a912504082ff74cad5/diff:/var/lib/docker/overlay2/848ddcb5f5ccd2fe36d133d3b610a79d2d42a382cba8eb2fa850f61091e615e2/diff:/var/lib/docker/overlay2/ac71e253621e6d4fd6dffac64787d359d6b522e05a9fe2a1e9c9532e36ee6880/diff:/var/lib/docker/overlay2/6e02c436bcca2f40caa233c023452903657eeb065fe2635cded3488821c99008/diff:/var/lib/docker/overlay2/f34c3ae60ae2d33c7e1c659d2db17b1d2b4fe366e038efea3009f371ffa08307/diff:/var/lib/docker/overlay2/10caa6fc0d786645cd1adb1d3839c4aad6c9c27125b490df7c71bd7c0351b729/diff",
            "MergedDir": "/var/lib/docker/overlay2/962fdbee020506710c6b34291a719dd93614ee63792e5cdfb5f2437292bd9bd1/merged",
            "UpperDir": "/var/lib/docker/overlay2/962fdbee020506710c6b34291a719dd93614ee63792e5cdfb5f2437292bd9bd1/diff",
            "WorkDir": "/var/lib/docker/overlay2/962fdbee020506710c6b34291a719dd93614ee63792e5cdfb5f2437292bd9bd1/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:974e52a24adf98b37b8895f61b8d8d273b73a8596b80da491342936fa1751541",
            "sha256:b0df24a95c808fd7ea3646d50b18cf0b8a2ceb7e1d70136a99811d9066977e5a",
            "sha256:b4b4f5c5ff9f4cbf8c098bd5409da2229310afebfaa9da8a0f74d4f907b921cc",
            "sha256:d140420135e3fc4ff7f52676725dc534d655b754992792e8ee1ecbc9fa0010b3",
            "sha256:19ab21be3f67666ebfc10cac9378cd970bbc3ea68c312cae1de761bffd424bfe",
            "sha256:8386b609c2be18823bdcd7d2a14a3af138681745d00acf35f800fd854413eed9",
            "sha256:5ffe066eb4ed7fc232f8ce6c685fcc4c6ec7d364e5f3c87f27f414ec14ea8317",
            "sha256:ce6ce86f7ef82a1937f76dd0982aea896411cbfe5c1b2c9ab949510f30479e02"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-11-12T20:39:55.178029363+08:00"
    }
}

更多版本

docker.io/library/gcc:13.3.0

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

docker.io/library/gcc:11.2.0-bullseye

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

docker.io/library/gcc:11.3

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