gosec (latest-arm64-v8)
Installation
docker pull git.cryptic.systems/volker.raschek/gosec:latest-arm64-v8
sha256:5ac9668b86d8f41c6f16033fa186bf5d104a4ba5c7259e1bfa0f2092ef74e746
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 |
/bin/sh -c apk update && apk upgrade && apk add git make |
/bin/sh -c if [ ! -z "${GOSEC_VERSION}" ]; then set -ex; go install github.com/securego/gosec/v2/cmd/gosec@${GOSEC_VERSION}; fi |
/bin/sh -c if [ -z "${GOSEC_VERSION}" ]; then set -ex; go install github.com/securego/gosec/v2/cmd/gosec@latest; fi |
/bin/sh -c cp /go/bin/gosec /usr/bin/gosec && rm -rf /go/* |
ENTRYPOINT ["/usr/bin/gosec"] |
LABEL org.opencontainers.image.created=2025-02-18T11:30:35Z |
LABEL org.opencontainers.image.revision=c773c9db8db7589d4742c7fc61432fe98562d9fd |
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-02-18T11:30:35Z |
org.opencontainers.image.revision | c773c9db8db7589d4742c7fc61432fe98562d9fd |
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-02-18 11:36:30 +00:00
Versions (29)
View all
Container
201
OCI / Docker
linux/arm64/v8
305 MiB