gosec (latest-arm64-v8)
Installation
docker pull git.cryptic.systems/volker.raschek/gosec:latest-arm64-v8
sha256:7fa930f6966a6b44a2c63da14ef4036a1dbf18a5d2eefb74b87d2623973fc264
Image Layers
ADD alpine-minirootfs-3.21.0-aarch64.tar.gz / # buildkit |
CMD ["/bin/sh"] |
RUN /bin/sh -c apk add --no-cache ca-certificates # buildkit |
ENV GOLANG_VERSION=1.23.4 |
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 |
RUN |1 GOSEC_VERSION= /bin/sh -c apk update && apk upgrade && apk add git make # buildkit |
RUN |1 GOSEC_VERSION= /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= /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= /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 | 2024-12-25T05:48:26Z |
org.opencontainers.image.revision | e4f29c1b0b24a58e327f7c3c0933d0b003158446 |
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
2024-12-25 05:53:02 +00:00
Versions (29)
View all
Container
186
OCI / Docker
linux/arm64/v8
291 MiB