docker.io/golangci/golangci-lint:v1.53.3-alpine linux/amd64

docker.io/golangci/golangci-lint:v1.53.3-alpine - 国内下载镜像源 浏览次数:43
源镜像 docker.io/golangci/golangci-lint:v1.53.3-alpine
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/golangci/golangci-lint:v1.53.3-alpine
镜像ID sha256:b424bae4051f9681207065a8e5bd0d00e00de6bd9972732df2983bbe0e020115
镜像TAG v1.53.3-alpine
大小 497.70MB
镜像源 docker.io
项目信息 Docker-Hub主页 🚀项目TAG 🚀
CMD golangci-lint
启动入口
工作目录 /go
OS/平台 linux/amd64
浏览量 43 次
贡献者
镜像创建 2023-06-15T11:14:54.146295945Z
同步时间 2025-01-19 16:10
更新时间 2025-01-30 19:53
环境变量
PATH=/go/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin GOLANG_VERSION=1.20.5 GOPATH=/go GOROOT=/usr/local/go

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

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/golangci/golangci-lint:v1.53.3-alpine
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/golangci/golangci-lint:v1.53.3-alpine  docker.io/golangci/golangci-lint:v1.53.3-alpine

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/golangci/golangci-lint:v1.53.3-alpine
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/golangci/golangci-lint:v1.53.3-alpine  docker.io/golangci/golangci-lint:v1.53.3-alpine

Shell快速替换命令

sed -i 's#golangci/golangci-lint:v1.53.3-alpine#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/golangci/golangci-lint:v1.53.3-alpine#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/golangci/golangci-lint:v1.53.3-alpine && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/golangci/golangci-lint:v1.53.3-alpine  docker.io/golangci/golangci-lint:v1.53.3-alpine'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/golangci/golangci-lint:v1.53.3-alpine && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/golangci/golangci-lint:v1.53.3-alpine  docker.io/golangci/golangci-lint:v1.53.3-alpine'

镜像构建历史


# 2023-06-15 19:14:54  0.00B 设置默认要执行的命令
CMD ["golangci-lint"]
                        
# 2023-06-15 19:14:54  25.22MB 复制新文件或目录到容器中
COPY /golangci/golangci-lint /usr/bin/ # buildkit
                        
# 2023-06-15 19:12:46  217.99MB 执行命令并创建新的镜像层
RUN /bin/sh -c apk --no-cache add gcc musl-dev git mercurial # buildkit
                        
# 2023-06-15 19:12:46  0.00B 设置环境变量 GOROOT
ENV GOROOT=/usr/local/go
                        
# 2023-06-15 06:36:36  0.00B 
/bin/sh -c #(nop) WORKDIR /go
                        
# 2023-06-15 06:36:35  0.00B 
/bin/sh -c mkdir -p "$GOPATH/src" "$GOPATH/bin" && chmod -R 1777 "$GOPATH"
                        
# 2023-06-15 06:36:35  0.00B 
/bin/sh -c #(nop)  ENV PATH=/go/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
                        
# 2023-06-15 06:36:35  0.00B 
/bin/sh -c #(nop)  ENV GOPATH=/go
                        
# 2023-06-15 06:36:34  246.64MB 
/bin/sh -c set -eux; 	apk add --no-cache --virtual .fetch-deps gnupg; 	arch="$(apk --print-arch)"; 	url=; 	case "$arch" in 		'x86_64') 			export GOAMD64='v1' GOARCH='amd64' GOOS='linux'; 			;; 		'armhf') 			export GOARCH='arm' GOARM='6' GOOS='linux'; 			;; 		'armv7') 			export GOARCH='arm' GOARM='7' GOOS='linux'; 			;; 		'aarch64') 			export GOARCH='arm64' GOOS='linux'; 			;; 		'x86') 			export GO386='softfloat' GOARCH='386' GOOS='linux'; 			;; 		'ppc64le') 			export GOARCH='ppc64le' GOOS='linux'; 			;; 		's390x') 			export GOARCH='s390x' GOOS='linux'; 			;; 		*) echo >&2 "error: unsupported architecture '$arch' (likely packaging update needed)"; exit 1 ;; 	esac; 	build=; 	if [ -z "$url" ]; then 		build=1; 		url='https://dl.google.com/go/go1.20.5.src.tar.gz'; 		sha256='9a15c133ba2cfafe79652f4815b62e7cfc267f68df1b9454c6ab2a3ca8b96a88'; 	fi; 		wget -O go.tgz.asc "$url.asc"; 	wget -O go.tgz "$url"; 	echo "$sha256 *go.tgz" | sha256sum -c -; 		GNUPGHOME="$(mktemp -d)"; export GNUPGHOME; 	gpg --batch --keyserver keyserver.ubuntu.com --recv-keys 'EB4C 1BFD 4F04 2F6D DDCC  EC91 7721 F63B D38B 4796'; 	gpg --batch --keyserver keyserver.ubuntu.com --recv-keys '2F52 8D36 D67B 69ED F998  D857 78BD 6547 3CB3 BD13'; 	gpg --batch --verify go.tgz.asc go.tgz; 	gpgconf --kill all; 	rm -rf "$GNUPGHOME" go.tgz.asc; 		tar -C /usr/local -xzf go.tgz; 	rm go.tgz; 		if [ -n "$build" ]; then 		apk add --no-cache --virtual .build-deps 			bash 			gcc 			go 			musl-dev 		; 				export GOCACHE='/tmp/gocache'; 				( 			cd /usr/local/go/src; 			export GOROOT_BOOTSTRAP="$(go env GOROOT)" GOHOSTOS="$GOOS" GOHOSTARCH="$GOARCH"; 			if [ "${GOARCH:-}" = '386' ]; then 				export CGO_CFLAGS='-fno-stack-protector'; 			fi; 			./make.bash; 		); 				apk del --no-network .build-deps; 				rm -rf 			/usr/local/go/pkg/*/cmd 			/usr/local/go/pkg/bootstrap 			/usr/local/go/pkg/obj 			/usr/local/go/pkg/tool/*/api 			/usr/local/go/pkg/tool/*/go_bootstrap 			/usr/local/go/src/cmd/dist/dist 			"$GOCACHE" 		; 	fi; 		apk del --no-network .fetch-deps; 		go version
                        
# 2023-06-15 06:35:02  0.00B 
/bin/sh -c #(nop)  ENV GOLANG_VERSION=1.20.5
                        
# 2023-06-15 06:35:02  0.00B 
/bin/sh -c #(nop)  ENV PATH=/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
                        
# 2023-06-15 06:35:02  516.49KB 
/bin/sh -c apk add --no-cache ca-certificates
                        
# 2023-06-15 04:41:59  0.00B 
/bin/sh -c #(nop)  CMD ["/bin/sh"]
                        
# 2023-06-15 04:41:58  7.33MB 
/bin/sh -c #(nop) ADD file:1da756d12551a0e3e793e02ef87432d69d4968937bd11bed0af215db19dd94cd in / 
                        
                    

镜像信息

{
    "Id": "sha256:b424bae4051f9681207065a8e5bd0d00e00de6bd9972732df2983bbe0e020115",
    "RepoTags": [
        "golangci/golangci-lint:v1.53.3-alpine",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/golangci/golangci-lint:v1.53.3-alpine"
    ],
    "RepoDigests": [
        "golangci/golangci-lint@sha256:b61d8503f0ad16499c023772301ec8c0f2559bf76c28d228c390446c5e647f55",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/golangci/golangci-lint@sha256:d3310ad3ca26641f79f85780872ff6d14218eef87a2eb917f0487ea113bc7604"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2023-06-15T11:14:54.146295945Z",
    "Container": "",
    "ContainerConfig": null,
    "DockerVersion": "",
    "Author": "",
    "Config": {
        "Hostname": "",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "PATH=/go/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
            "GOLANG_VERSION=1.20.5",
            "GOPATH=/go",
            "GOROOT=/usr/local/go"
        ],
        "Cmd": [
            "golangci-lint"
        ],
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": null,
        "WorkingDir": "/go",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": null
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 497698851,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/c180cfb0cb1935ec40c814ee9924204008bec07d1a9e1cc8dd7e652547a2186e/diff:/var/lib/docker/overlay2/d771100b552a5fd95db8699eea5ad1487e25a71d3986ef8334b53756beeffef3/diff:/var/lib/docker/overlay2/6d7a6ce4ac9bb9ba053ed75cf15b48b11e0c4f891022700d56694480ac5aa0ce/diff:/var/lib/docker/overlay2/dcc374d119a45aabbeda51d70197dc3a701bb45c11d66e474227f28cbf82dbbc/diff:/var/lib/docker/overlay2/c445e42a3cbf695e79d8b17820dfed4ac5eb3ea37d6451c2c220333bf9188159/diff",
            "MergedDir": "/var/lib/docker/overlay2/c49beffbe1b4555e09a50afe07494555a11a4d3ff0b8c516625fd0f2cc6a7eb9/merged",
            "UpperDir": "/var/lib/docker/overlay2/c49beffbe1b4555e09a50afe07494555a11a4d3ff0b8c516625fd0f2cc6a7eb9/diff",
            "WorkDir": "/var/lib/docker/overlay2/c49beffbe1b4555e09a50afe07494555a11a4d3ff0b8c516625fd0f2cc6a7eb9/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:78a822fe2a2d2c84f3de4a403188c45f623017d6a4521d23047c9fbb0801794c",
            "sha256:f68373c1ba86dd82a20a46a3d8d5362c73362cb5304c61e2ae810da5f192b863",
            "sha256:c4fa6d35d60f5bec95ce96bd4d8400735ccb0b456c42744a14527e04527353ce",
            "sha256:bc61620371330a5e8e25d88a68773f044d01c9f878174522676ed41975403cbc",
            "sha256:417e20772a4c6d98e7a7fab0b932da0e8f7a9f49c55b0329830fe63996ae77ac",
            "sha256:053a96b14553263694a731c5bc26778ef560b1ca0d5f18e9057cd048f798b3b5"
        ]
    },
    "Metadata": {
        "LastTagTime": "2025-01-19T16:10:21.094664068+08:00"
    }
}

更多版本

docker.io/golangci/golangci-lint:v1.53.3-alpine

linux/amd64 docker.io497.70MB2025-01-19 16:10
42