logo
docker.io/swerebenchv2/getkin-kin-openapi:795-b8c06e7
linux/amd64 docker.io

该Docker镜像对应Kin OpenAPI项目(原名OpenAPI Generator for Go),是一个用于处理OpenAPI规范的工具,支持根据OpenAPI文档生成Go语言等的客户端、服务端代码,以及进行API规范的验证、解析等操作,由swerebenchv2提供,便于用户快速使用Kin OpenAPI的功能而无需本地安装相关依赖。

12
浏览次数
2.49GB
镜像大小
国内镜像
swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/swerebenchv2/getkin-kin-openapi:795-b8c06e7
源镜像
docker.io/swerebenchv2/getkin-kin-openapi:795-b8c06e7
镜像ID
sha256:4abf75a4933a84d9b61b3935059c1fb108a7b31e61cc4b79663211d2373ffebc
镜像 TAG
795-b8c06e7
镜像大小
2.49GB
平台架构
linux/amd64
镜像源
docker.io
CMD
/bin/bash
启动入口
工作目录
/kin-openapi
OS/平台
linux/amd64
镜像创建
2026-04-21T13:56:09.360082789Z
同步时间
2026-07-16 08:59
浏览量
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-16 09:00 查看完整报告
482
低危 LOW
3350
中危 MEDIUM
538
高危 HIGH
39
严重 CRITICAL
受影响目标 (23)
docker.io/swerebenchv2/getkin-kin-openapi:795-b8c06e7 (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/covdata gobinary usr/local/go/pkg/tool/linux_amd64/cover 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/getkin-kin-openapi:795-b8c06e7
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/swerebenchv2/getkin-kin-openapi:795-b8c06e7  docker.io/swerebenchv2/getkin-kin-openapi:795-b8c06e7

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/swerebenchv2/getkin-kin-openapi:795-b8c06e7
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/swerebenchv2/getkin-kin-openapi:795-b8c06e7  docker.io/swerebenchv2/getkin-kin-openapi:795-b8c06e7

Shell快速替换命令

sed -i 's#swerebenchv2/getkin-kin-openapi:795-b8c06e7#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/swerebenchv2/getkin-kin-openapi:795-b8c06e7#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/swerebenchv2/getkin-kin-openapi:795-b8c06e7 && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/swerebenchv2/getkin-kin-openapi:795-b8c06e7  docker.io/swerebenchv2/getkin-kin-openapi:795-b8c06e7'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/swerebenchv2/getkin-kin-openapi:795-b8c06e7 && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/swerebenchv2/getkin-kin-openapi:795-b8c06e7  docker.io/swerebenchv2/getkin-kin-openapi:795-b8c06e7'

镜像构建历史


# 2026-04-21 21:56:11  0.00B 
/bin/sh
                        
# 2026-02-22 18:15:36  373.19MB 
/bin/sh -c #(nop) COPY file:a6b342b1d5b4a0d5de282ddb7d148651202afa3a014757cb2603929f4ea9c538 in /swebench_matterhorn/swebench_instance.json 
                        
# 2026-02-22 18:15:32  0.00B 
/bin/sh -c #(nop) WORKDIR /kin-openapi
                        
# 2026-02-22 18:15:32  0.00B 
/bin/sh -c <<-DOCKER_RUN_EOF
set -eux;
    git clone -o origin https://github.com/getkin/kin-openapi /kin-openapi;
    chmod -R 777 /kin-openapi;
    cd /kin-openapi;
    git reset --hard b8c06e7b974d90aaf6dad2406f1b4e01e937a8c7;
    ( export DEBIAN_FRONTEND=noninteractive ) || true;
    ( apt-get update -y -qq ) || true;
    ( apt-get install -y -qq wget tar ) || true;
    ( wget -q https://go.dev/dl/go1.22.5.linux-amd64.tar.gz ) || true;
    ( tar -C /usr/local -xzf go1.22.5.linux-amd64.tar.gz ) || true;
    ( export HOME=/root ) || true;
    ( export GOPATH=$HOME/go ) || true;
    ( export GOMODCACHE=$GOPATH/pkg/mod ) || true;
    ( export GOCACHE=$HOME/.cache/go-build ) || true;
    ( export PATH=$PATH:/usr/local/go/bin:$GOPATH/bin ) || true;
    ( mkdir -p $GOPATH $GOMODCACHE $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 b8c06e7b974d90aaf6dad2406f1b4e01e937a8c7;
    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 18:15:23  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 18:15:11  1.52GB 
/bin/sh -c #(nop) ENV NO_CONDA=1
                        
# 2026-02-22 18:15:04  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 18:14:57  0.00B 
/bin/sh -c #(nop) COPY file:61604c43c292b48546055579c93885a922428ac04b5a3f2bd7c87a6a8208dbd4 in / 
                        
# 2026-02-22 18:14:56  0.00B 
/bin/sh -c #(nop) COPY file:38d2cec6c3688d3db2fdf6a899d279ccf0f0bf78f9acc300722c98b6d67c4b26 in / 
                        
# 2026-02-22 18:14:56  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 18:14:49  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 18:14:45  0.00B 
/bin/sh -c #(nop) ENV PATH=/opt/conda/bin:$PATH
                        
# 2026-02-22 18:14:45  0.00B 
/bin/sh -c #(nop) ENV LANG=C.UTF-8 LC_ALL=C.UTF-8
                        
# 2026-01-16 00:18:35  333.87KB 执行命令并创建新的镜像层
RUN |1 DEBIAN_FRONTEND=noninteractive /bin/sh -c adduser --disabled-password --gecos 'dog' nonroot # buildkit
                        
# 2026-01-16 00:18:35  0.00B 执行命令并创建新的镜像层
RUN |1 DEBIAN_FRONTEND=noninteractive /bin/sh -c go version # buildkit
                        
# 2026-01-16 00:18:34  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:18:34  222.34MB 执行命令并创建新的镜像层
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.22.12.linux-amd64.tar.gz'; 			;; 		'armhf') 			url='https://dl.google.com/go/go1.22.12.linux-armv6l.tar.gz'; 			;; 		'arm64') 			url='https://dl.google.com/go/go1.22.12.linux-arm64.tar.gz'; 			;; 		'i386') 			url='https://dl.google.com/go/go1.22.12.linux-386.tar.gz'; 			;; 		'mips64el') 			url='https://dl.google.com/go/go1.22.12.linux-mips64le.tar.gz'; 			;; 		'ppc64el') 			url='https://dl.google.com/go/go1.22.12.linux-ppc64le.tar.gz'; 			;; 		'riscv64') 			url='https://dl.google.com/go/go1.22.12.linux-riscv64.tar.gz'; 			;; 		's390x') 			url='https://dl.google.com/go/go1.22.12.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:18:23  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:18:23  0.00B 设置环境变量 TZ
ENV TZ=Etc/UTC
                        
# 2026-01-16 00:18:23  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:4abf75a4933a84d9b61b3935059c1fb108a7b31e61cc4b79663211d2373ffebc",
    "RepoTags": [
        "swerebenchv2/getkin-kin-openapi:795-b8c06e7",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/swerebenchv2/getkin-kin-openapi:795-b8c06e7"
    ],
    "RepoDigests": [
        "swerebenchv2/getkin-kin-openapi@sha256:9d7131314aefcddbeb111fe724af2a8e8665e76089cd6a1b9cb142be807fb995",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/swerebenchv2/getkin-kin-openapi@sha256:bfa289ae5c9bb8a4b492fde43e0bc6656b89ecb05dab9fd6bdf128a043fbac9c"
    ],
    "Parent": "",
    "Comment": "FROM docker.io/swerebenchv2/getkin-kin-openapi:795-b8c06e7",
    "Created": "2026-04-21T13:56:09.360082789Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "c051951eb0e1",
        "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": "/kin-openapi",
        "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": 2492438053,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/f9a9fa5d8b0d3d29cf8c9affdb698edab29c3ac34c47990bcb6bf523588b5562/diff:/var/lib/docker/overlay2/56f63a085b7d7ca18ed54144e1d10a134e772fa8171e551b06cebc0cafaafa1e/diff:/var/lib/docker/overlay2/e244da59f4a9997c2a24319aea04da1726eacea08a46beb7677dba4f6f2280f5/diff:/var/lib/docker/overlay2/2b342966353a7eb351c0b6d184c1fbe568ea1e92102bff3c78c5a734dee4c986/diff:/var/lib/docker/overlay2/b7df3cd360e5d2bcb0f46be6adb820e4e2303c5c436c1899cc8d59d0c5c2de26/diff:/var/lib/docker/overlay2/1a24451e8030b7196685916abd4e24369037a54a45bf5fe6fdd8f6e5a52b6fd6/diff:/var/lib/docker/overlay2/494052ebd0d7093a2919ea6da70b0cc68dda59cc59824edfab742d53363834e0/diff",
            "MergedDir": "/var/lib/docker/overlay2/ecbaeeac77866401e1801b16b3b358112cbb1a204fb00651d1da3f7a9451af38/merged",
            "UpperDir": "/var/lib/docker/overlay2/ecbaeeac77866401e1801b16b3b358112cbb1a204fb00651d1da3f7a9451af38/diff",
            "WorkDir": "/var/lib/docker/overlay2/ecbaeeac77866401e1801b16b3b358112cbb1a204fb00651d1da3f7a9451af38/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:73974f74b436f39a2fdb6461b1e3f7c3e41c73325776fa71d16b942a5b4a365b",
            "sha256:aacb5b4609cd5d42c8d4eed0fad75061676183f10114fb1db6bd4183fc29197b",
            "sha256:6bd0fb800671903e9b8275902694f17d4489b022a60c20c81a6cdbf27a72eff3",
            "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
            "sha256:ad70bd7f1e149774c613c8a121095c6b6293aaf5ce6c4cfb43c2cda2ac805649",
            "sha256:f226f30234ae6ae30ba41a005da1167e4671ced3b700c20b84e028a433aa3700",
            "sha256:bc585ea04c0776ed7326bd56395af5b89a6a265b293f427e3bc133aaa3b26120",
            "sha256:22d966e53997ed6180aa7ababab491917c74d43ed160b6984e98ca0323b62f66"
        ]
    },
    "Metadata": {
        "LastTagTime": "2026-07-16T08:57:22.374078808+08:00"
    }
}

更多版本

docker.io/swerebenchv2/getkin-kin-openapi:976-0ed9f5d

linux/amd64 docker.io2.49GB2026-07-12 06:22
22

docker.io/swerebenchv2/getkin-kin-openapi:892-62bf0f7

linux/amd64 docker.io2.49GB2026-07-15 01:58
14

docker.io/swerebenchv2/getkin-kin-openapi:544-ebcbb72

linux/amd64 docker.io2.49GB2026-07-16 06:30
13

docker.io/swerebenchv2/getkin-kin-openapi:911-3bbab36

linux/amd64 docker.io2.49GB2026-07-16 07:14
11

docker.io/swerebenchv2/getkin-kin-openapi:628-ac594bc

linux/amd64 docker.io2.60GB2026-07-16 08:50
11

docker.io/swerebenchv2/getkin-kin-openapi:795-b8c06e7

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