gosec (2.22.1-arm64-v8)
Installation
docker pull git.cryptic.systems/volker.raschek/gosec:2.22.1-arm64-v8
sha256:a8b17ad13ab31c29202c7198244d8594461fdf63a2a5adcd3cb0ed00870af31b
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.0 |
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=v2.22.1 |
RUN |1 GOSEC_VERSION=v2.22.1 /bin/sh -c apk update && apk upgrade && apk add git make # buildkit |
RUN |1 GOSEC_VERSION=v2.22.1 /bin/sh -c if [ ! -z "${GOSEC_VERSION}" ]; then set -ex; go install github.com/securego/gosec/v2/cmd/gosec@${GOSEC_VERSION}; fi # buildkit |
RUN |1 GOSEC_VERSION=v2.22.1 /bin/sh -c if [ -z "${GOSEC_VERSION}" ]; then set -ex; go install github.com/securego/gosec/v2/cmd/gosec@latest; fi # buildkit |
RUN |1 GOSEC_VERSION=v2.22.1 /bin/sh -c cp /go/bin/gosec /usr/bin/gosec && rm -rf /go/* # buildkit |
ENTRYPOINT ["/usr/bin/gosec"] |
Labels
Key | Value |
---|---|
org.opencontainers.image.created | 2025-03-31T14:17:04Z |
org.opencontainers.image.revision | 58742ece64cf144f908511533101fd98b2590da9 |
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:22:14 +02:00
Versions (38)
View all
Container
10
OCI / Docker
linux/arm64/v8
304 MiB