gosec (2.22.2-amd64)
Installation
docker pull git.cryptic.systems/volker.raschek/gosec:2.22.2-amd64
sha256:b1498ed5cc07096a453ee652e9cf70eaa8e7062c77c4966c50e78db53122b79b
Image Layers
ADD alpine-minirootfs-3.21.3-x86_64.tar.gz / # buildkit |
CMD ["/bin/sh"] |
RUN /bin/sh -c apk add --no-cache ca-certificates # buildkit |
ENV GOLANG_VERSION=1.24.1 |
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 |
ARG GOSEC_VERSION |
|1 GOSEC_VERSION=v2.22.2 /bin/sh -c apk update && apk upgrade && apk add git make |
|1 GOSEC_VERSION=v2.22.2 /bin/sh -c if [ ! -z "${GOSEC_VERSION}" ]; then set -ex; go install github.com/securego/gosec/v2/cmd/gosec@${GOSEC_VERSION}; fi |
|1 GOSEC_VERSION=v2.22.2 /bin/sh -c if [ -z "${GOSEC_VERSION}" ]; then set -ex; go install github.com/securego/gosec/v2/cmd/gosec@latest; fi |
|1 GOSEC_VERSION=v2.22.2 /bin/sh -c cp /go/bin/gosec /usr/bin/gosec && rm -rf /go/* |
ENTRYPOINT ["/usr/bin/gosec"] |
LABEL org.opencontainers.image.created=2025-03-31T14:15:50Z |
LABEL org.opencontainers.image.revision=906d5da2173e8a91ca3c317f76c3e8527eddd8c8 |
LABEL org.opencontainers.image.source=https://git.cryptic.systems/volker.raschek/gosec-docker.git |
LABEL org.opencontainers.image.url=https://git.cryptic.systems/volker.raschek/gosec-docker |
Labels
Key | Value |
---|---|
org.opencontainers.image.created | 2025-03-31T14:15:50Z |
org.opencontainers.image.revision | 906d5da2173e8a91ca3c317f76c3e8527eddd8c8 |
org.opencontainers.image.source | https://git.cryptic.systems/volker.raschek/gosec-docker.git |
org.opencontainers.image.url | https://git.cryptic.systems/volker.raschek/gosec-docker |
Details
2025-03-31 16:24:35 +02:00
Versions (38)
View all
Container
9
OCI / Docker
linux/amd64
313 MiB