gosec (2.22.2-arm64-v8)
Installation
docker pull git.cryptic.systems/volker.raschek/gosec:2.22.2-arm64-v8
sha256:d57c1a1c404e63e9143b4d5b84bbab97a285cc2c7446f7a411ea22aa178bc2bc
Image Layers
ADD alpine-minirootfs-3.21.3-aarch64.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:11:26Z |
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:11:26Z |
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:16:55 +02:00
Versions (38)
View all
Container
12
OCI / Docker
linux/arm64/v8
306 MiB