pipeline-container/golang-ci-lint (v1.62)
Published 2024-11-28 12:53:22 +00:00 by kai.reichart
Installation
docker pull forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/devfw-cicd/pipeline-container/golang-ci-lint:v1.62
sha256:5cf9030e30435e72ba4a2cfdcea929d59db5a65e5cc8a3e48d94fc61f179842e
About this package
Fast linters Runner for Go
Image Layers
ADD alpine-minirootfs-3.20.3-x86_64.tar.gz / # buildkit |
CMD ["/bin/sh"] |
RUN /bin/sh -c apk add --no-cache ca-certificates # buildkit |
ENV GOLANG_VERSION=1.23.3 |
ENV GOTOOLCHAIN=local |
ENV GOPATH=/go |
ENV PATH=/go/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
COPY /target/ / # buildkit |
RUN /bin/sh -c mkdir -p "$GOPATH/src" "$GOPATH/bin" && chmod -R 1777 "$GOPATH" # buildkit |
WORKDIR /go |
ENV GOROOT=/usr/local/go |
ENV GOTOOLCHAIN=auto |
RUN /bin/sh -c apk --no-cache add gcc musl-dev git mercurial # buildkit |
RUN /bin/sh -c git config --global --add safe.directory '*' # buildkit |
COPY golangci-lint /usr/bin/ # buildkit |
CMD ["golangci-lint"] |
/bin/sh -c apk add --no-cache git |
Labels
Key | Value |
---|---|
io.buildah.version | 1.36.0 |
org.opencontainers.image.created | 2024-11-25T14:16:01Z |
org.opencontainers.image.description | Fast linters Runner for Go |
org.opencontainers.image.documentation | https://golangci-lint.run |
org.opencontainers.image.revision | 89476e7a1eaa0a8a06c17343af960a5fd9e7edb7 |
org.opencontainers.image.source | https://github.com/golangci/golangci-lint |
org.opencontainers.image.title | golangci-lint |
org.opencontainers.image.url | https://github.com/golangci/golangci-lint |
org.opencontainers.image.version | 1.62.2 |