logo
docker.io/swerebenchv2/uber-go-dig:282-4350cd3
linux/amd64 docker.io

docker.io/swerebenchv2/uber-go-dig镜像关联Uber Go语言依赖注入库dig,可能用于swerebench基准测试场景中,提供dig库的运行环境以支持相关性能测试或功能验证。

12
浏览次数
2.97GB
镜像大小
国内镜像
swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/swerebenchv2/uber-go-dig:282-4350cd3
源镜像
docker.io/swerebenchv2/uber-go-dig:282-4350cd3
镜像ID
sha256:602c8ce7dc10be056295a10a3c7f083d8d8964c185e053fc1651f4d4b176ab68
镜像 TAG
282-4350cd3
镜像大小
2.97GB
平台架构
linux/amd64
镜像源
docker.io
CMD
/bin/bash
启动入口
工作目录
/dig
OS/平台
linux/amd64
镜像创建
2026-04-22T08:49:06.947854653Z
同步时间
2026-07-12 02:16
浏览量
12 次
贡献者
⚙️ 环境变量 5
KeyValue
TZ=Etc/UTC 0
LANG=C.UTF-8 1
LC_ALL=C.UTF-8 2
NO_CONDA=1 3
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/conda/bin:/opt/conda/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 4
🏷️ 镜像标签 3
KeyValue
1.38.1 io.buildah.version
ubuntu org.opencontainers.image.ref.name
22.04 org.opencontainers.image.version
🛡️ 镜像安全扫描
ubuntu 22.04 Trivy 2026-07-12 02:17 查看完整报告
481
低危 LOW
3584
中危 MEDIUM
616
高危 HIGH
58
严重 CRITICAL
受影响目标 (23)
docker.io/swerebenchv2/uber-go-dig:282-4350cd3 (ubuntu 22.04) ubuntu Conda conda-pkg Node.js node-pkg Python python-pkg usr/local/go/bin/go gobinary usr/local/go/bin/gofmt gobinary usr/local/go/pkg/tool/linux_amd64/addr2line gobinary usr/local/go/pkg/tool/linux_amd64/asm gobinary usr/local/go/pkg/tool/linux_amd64/buildid gobinary usr/local/go/pkg/tool/linux_amd64/cgo gobinary usr/local/go/pkg/tool/linux_amd64/compile gobinary usr/local/go/pkg/tool/linux_amd64/cover gobinary usr/local/go/pkg/tool/linux_amd64/dist gobinary usr/local/go/pkg/tool/linux_amd64/doc gobinary usr/local/go/pkg/tool/linux_amd64/fix gobinary usr/local/go/pkg/tool/linux_amd64/link gobinary usr/local/go/pkg/tool/linux_amd64/nm gobinary usr/local/go/pkg/tool/linux_amd64/objdump gobinary usr/local/go/pkg/tool/linux_amd64/pack gobinary usr/local/go/pkg/tool/linux_amd64/pprof gobinary usr/local/go/pkg/tool/linux_amd64/test2json gobinary usr/local/go/pkg/tool/linux_amd64/trace gobinary usr/local/go/pkg/tool/linux_amd64/vet gobinary

Docker拉取命令

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/swerebenchv2/uber-go-dig:282-4350cd3
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/swerebenchv2/uber-go-dig:282-4350cd3  docker.io/swerebenchv2/uber-go-dig:282-4350cd3

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/swerebenchv2/uber-go-dig:282-4350cd3
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/swerebenchv2/uber-go-dig:282-4350cd3  docker.io/swerebenchv2/uber-go-dig:282-4350cd3

Shell快速替换命令

sed -i 's#swerebenchv2/uber-go-dig:282-4350cd3#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/swerebenchv2/uber-go-dig:282-4350cd3#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/swerebenchv2/uber-go-dig:282-4350cd3 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/swerebenchv2/uber-go-dig:282-4350cd3  docker.io/swerebenchv2/uber-go-dig:282-4350cd3'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/swerebenchv2/uber-go-dig:282-4350cd3 && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/swerebenchv2/uber-go-dig:282-4350cd3  docker.io/swerebenchv2/uber-go-dig:282-4350cd3'

镜像构建历史


# 2026-04-22 16:49:09  0.00B 
/bin/sh
                        
# 2026-02-22 05:55:50  617.66MB 
/bin/sh -c #(nop) COPY file:ac48e315507422db8643b089cd7fd3cead54143df87a21b2d652cb47933941dc in /swebench_matterhorn/swebench_instance.json 
                        
# 2026-02-22 05:55:45  0.00B 
/bin/sh -c #(nop) WORKDIR /dig
                        
# 2026-02-22 05:55:45  0.00B 
/bin/sh -c <<-DOCKER_RUN_EOF
set -eux;
    git clone -o origin https://github.com/uber-go/dig /dig;
    chmod -R 777 /dig;
    cd /dig;
    git reset --hard 4350cd34d1e25940d17eda2e514533df503254d1;
    ( export DEBIAN_FRONTEND=noninteractive && apt-get update -qq && apt-get install -y -qq golang ) || true;
    ( export GOPATH=/root/go ) || true;
    ( export HOME=/root ) || true;
    ( export GOCACHE=$HOME/.cache/go-build ) || true;
    ( mkdir -p $GOPATH ) || true;
    ( mkdir -p $GOCACHE ) || true;
    ( go mod download ) || true;
    # Keep only the checked-out commit and remove refs/history that can point
    # to newer commits.
    git checkout --detach 4350cd34d1e25940d17eda2e514533df503254d1;
    for r in $(git remote); do
        git remote remove "$r";
    done;
    git for-each-ref --format='delete %(refname)' refs/heads refs/remotes refs/tags | git update-ref --stdin;
    git reflog expire --expire=now --expire-unreachable=now --all;
    git gc --prune=now;
                        
# 2026-02-22 05:55:31  0.00B 
/bin/sh -c #(nop) ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/conda/bin:$PATH
                        
# 2026-02-22 05:55:19  1.52GB 
/bin/sh -c #(nop) ENV NO_CONDA=1
                        
# 2026-02-22 05:55:12  0.00B 
/bin/sh -c mkdir -p /swebench_matterhorn     && tar -xzf /swebench_matterhorn_repo.tar.gz -C /swebench_matterhorn     && rm /swebench_matterhorn_repo.tar.gz     && mkdir -p /opt/conda/envs/swebench_matterhorn     && tar -xzf /swebench_matterhorn_env.tar.gz -C /opt/conda/envs/swebench_matterhorn     && rm /swebench_matterhorn_env.tar.gz     && /opt/conda/envs/swebench_matterhorn/bin/conda-unpack
                        
# 2026-02-22 05:55:06  0.00B 
/bin/sh -c #(nop) COPY file:61604c43c292b48546055579c93885a922428ac04b5a3f2bd7c87a6a8208dbd4 in / 
                        
# 2026-02-22 05:55:05  0.00B 
/bin/sh -c #(nop) COPY file:38d2cec6c3688d3db2fdf6a899d279ccf0f0bf78f9acc300722c98b6d67c4b26 in / 
                        
# 2026-02-22 05:55:05  0.00B 
/bin/sh -c wget --quiet https://repo.anaconda.com/miniconda/Miniconda3-py312_24.7.1-0-Linux-x86_64.sh -O ~/miniconda.sh &&     /bin/bash ~/miniconda.sh -b -p /opt/conda &&     rm ~/miniconda.sh &&     /opt/conda/bin/conda clean -tip &&     ln -s /opt/conda/etc/profile.d/conda.sh /etc/profile.d/conda.sh &&     echo ". /opt/conda/etc/profile.d/conda.sh" >> ~/.bashrc
                        
# 2026-02-22 05:54:58  0.00B 
/bin/sh -c apt-get update --fix-missing &&     apt-get install -y bzip2 ca-certificates wget git &&     apt-get clean &&     rm -rf /var/lib/apt/lists/*
                        
# 2026-02-22 05:54:25  0.00B 
/bin/sh -c #(nop) ENV PATH=/opt/conda/bin:$PATH
                        
# 2026-02-22 05:54:25  0.00B 
/bin/sh -c #(nop) ENV LANG=C.UTF-8 LC_ALL=C.UTF-8
                        
# 2026-01-16 00:09:52  333.87KB 执行命令并创建新的镜像层
RUN |1 DEBIAN_FRONTEND=noninteractive /bin/sh -c adduser --disabled-password --gecos 'dog' nonroot # buildkit
                        
# 2026-01-16 00:09:51  0.00B 执行命令并创建新的镜像层
RUN |1 DEBIAN_FRONTEND=noninteractive /bin/sh -c go version # buildkit
                        
# 2026-01-16 00:09:51  0.00B 设置环境变量 PATH
ENV PATH=/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
                        
# 2026-01-16 00:09:51  459.38MB 执行命令并创建新的镜像层
RUN |1 DEBIAN_FRONTEND=noninteractive /bin/sh -c set -eux; 	now="$(date '+%s')"; 	arch="$(dpkg --print-architecture)"; 	url=; 	case "$arch" in 		'amd64') 			url='https://dl.google.com/go/go1.19.13.linux-amd64.tar.gz'; 			;; 		'armhf') 			url='https://dl.google.com/go/go1.19.13.linux-armv6l.tar.gz'; 			;; 		'arm64') 			url='https://dl.google.com/go/go1.19.13.linux-arm64.tar.gz'; 			;; 		'i386') 			url='https://dl.google.com/go/go1.19.13.linux-386.tar.gz'; 			;; 		'mips64el') 			url='https://dl.google.com/go/go1.19.13.linux-mips64le.tar.gz'; 			;; 		'ppc64el') 			url='https://dl.google.com/go/go1.19.13.linux-ppc64le.tar.gz'; 			;; 		'riscv64') 			url='https://dl.google.com/go/go1.19.13.linux-riscv64.tar.gz'; 			;; 		's390x') 			url='https://dl.google.com/go/go1.19.13.linux-s390x.tar.gz'; 			;; 		*) echo >&2 "error: unsupported architecture '$arch' (likely packaging update needed)"; exit 1 ;; 	esac; 		wget -O go.tgz "$url" --progress=dot:giga;     tar -C /usr/local -xzf go.tgz;     rm go.tgz; # buildkit
                        
# 2026-01-16 00:09:32  296.07MB 执行命令并创建新的镜像层
RUN |1 DEBIAN_FRONTEND=noninteractive /bin/sh -c apt update && apt install -y wget git build-essential && rm -rf /var/lib/apt/lists/* # buildkit
                        
# 2026-01-16 00:09:32  0.00B 设置环境变量 TZ
ENV TZ=Etc/UTC
                        
# 2026-01-16 00:09:32  0.00B 定义构建参数
ARG DEBIAN_FRONTEND=noninteractive
                        
# 2025-10-14 01:23:20  0.00B 
/bin/sh -c #(nop)  CMD ["/bin/bash"]
                        
# 2025-10-14 01:23:20  77.87MB 
/bin/sh -c #(nop) ADD file:d025507456f1d7d19195885b1c02a346454d60c9348cbd3be92431f2d7e2666e in / 
                        
# 2025-10-14 01:23:18  0.00B 
/bin/sh -c #(nop)  LABEL org.opencontainers.image.version=22.04
                        
# 2025-10-14 01:23:18  0.00B 
/bin/sh -c #(nop)  LABEL org.opencontainers.image.ref.name=ubuntu
                        
# 2025-10-14 01:23:18  0.00B 
/bin/sh -c #(nop)  ARG LAUNCHPAD_BUILD_ARCH
                        
# 2025-10-14 01:23:18  0.00B 
/bin/sh -c #(nop)  ARG RELEASE
                        
                    

镜像信息

{
    "Id": "sha256:602c8ce7dc10be056295a10a3c7f083d8d8964c185e053fc1651f4d4b176ab68",
    "RepoTags": [
        "swerebenchv2/uber-go-dig:282-4350cd3",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/swerebenchv2/uber-go-dig:282-4350cd3"
    ],
    "RepoDigests": [
        "swerebenchv2/uber-go-dig@sha256:6057578ce49737132ee8f5250f14223db2894b7d4c8d3e64c0f0bca737b543f6",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/swerebenchv2/uber-go-dig@sha256:f44deb6bc28f0aeefa7b670f842f287355bd4e09e1b017b4db91b8c45aaca79d"
    ],
    "Parent": "",
    "Comment": "FROM docker.io/swerebenchv2/uber-go-dig:282-4350cd3",
    "Created": "2026-04-22T08:49:06.947854653Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "e59da76cc3e8",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "TZ=Etc/UTC",
            "LANG=C.UTF-8",
            "LC_ALL=C.UTF-8",
            "NO_CONDA=1",
            "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/conda/bin:/opt/conda/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
        ],
        "Cmd": [
            "/bin/bash"
        ],
        "Image": "",
        "Volumes": null,
        "WorkingDir": "/dig",
        "Entrypoint": null,
        "OnBuild": [],
        "Labels": {
            "io.buildah.version": "1.38.1",
            "org.opencontainers.image.ref.name": "ubuntu",
            "org.opencontainers.image.version": "22.04"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 2973956257,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/848aea165fe83aceb59c9679cf05cdfc4ec20a532a543fc14a2a7a6efd30c72c/diff:/var/lib/docker/overlay2/a35ac762ee6c82a2be2b23303ea9d237451374a125f93539ba85eb56745cc814/diff:/var/lib/docker/overlay2/fdd6ab2b45a47408e05ca43dc5fd343d589ff62fde249b34e5cbf6dac31e9c8d/diff:/var/lib/docker/overlay2/0f0cdfccb4d3414a63217f922cbcc8bd43f3ee45c98fa326550ffde1d2fe3348/diff:/var/lib/docker/overlay2/f1cb8f3eaf26b803e91b84bdc8b2c9c2c01c6a56b570bdfe80f2d9d83338d510/diff:/var/lib/docker/overlay2/6735caedf44bf271dd8520a5f6f062d675373cdb31eeaed96d602cb15cf99ad1/diff:/var/lib/docker/overlay2/494052ebd0d7093a2919ea6da70b0cc68dda59cc59824edfab742d53363834e0/diff",
            "MergedDir": "/var/lib/docker/overlay2/fa361531d9f83c3218712b7510404ca2e9720d4a25edb4902572a8e76b44d7c5/merged",
            "UpperDir": "/var/lib/docker/overlay2/fa361531d9f83c3218712b7510404ca2e9720d4a25edb4902572a8e76b44d7c5/diff",
            "WorkDir": "/var/lib/docker/overlay2/fa361531d9f83c3218712b7510404ca2e9720d4a25edb4902572a8e76b44d7c5/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:73974f74b436f39a2fdb6461b1e3f7c3e41c73325776fa71d16b942a5b4a365b",
            "sha256:21a54c18e0ac53f05802e0490c933d7b4646c84ee1e38698733ab8348e324172",
            "sha256:d470c2401f710f32c909dd949600333c3101ccf3d0da05c660479ef41375b8c6",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
            "sha256:6ba31c38ae603ff441984fbba4f5134ebcbba76bafad9ba077c263298ec4a728",
            "sha256:1e718de4a35538308f8707c5ca6d44f39f012b87371256cc49161758dfe7f604",
            "sha256:6f69d75819b3e11ce4207ec53fb09cb4d8ee3845064ac14e4255b9d2e79251b0",
            "sha256:8449f90b50657dcaa3264788b848f96f41ede1429171e10b5f07588b8fd823f4"
        ]
    },
    "Metadata": {
        "LastTagTime": "2026-07-12T02:14:39.356441633+08:00"
    }
}

更多版本

docker.io/swerebenchv2/uber-go-dig:282-4350cd3

linux/amd64 docker.io2.97GB2026-07-12 02:16
11
检测到您正在使用广告拦截插件,本站为公益站点,依赖广告维持运转 🙏 查看如何关闭 ×