gosec (latest-amd64)

Published 2024-05-08 02:25:30 +00:00 by volker.raschek in volker.raschek/gosec-docker

Installation

docker pull git.cryptic.systems/volker.raschek/gosec:latest-amd64
sha256:a4bb5db98a8ff3d003eb18b2d29400c4b3f5166922acf190554eeb15b8740817

Image Layers

ADD file:37a76ec18f9887751cd8473744917d08b7431fc4085097bb6a09d81b41775473 in /
CMD ["/bin/sh"]
RUN /bin/sh -c apk add --no-cache ca-certificates # buildkit
ENV GOLANG_VERSION=1.22.3
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 /usr/local/go/ /usr/local/go/ # 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=2024-05-08T02:22:46Z
LABEL org.opencontainers.image.revision=6bafa51c1802b5a5ab9504f78a6c4bb5c9ec9ecf
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 2024-05-08T02:22:46Z
org.opencontainers.image.revision 6bafa51c1802b5a5ab9504f78a6c4bb5c9ec9ecf
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
Container
2024-05-08 02:25:30 +00:00
110
OCI / Docker
linux/amd64
125 MiB
Versions (29) View all
latest 2024-05-08
latest-arm64-v8 2024-05-08
latest-amd64 2024-05-08
2 2024-02-15
2.19 2024-02-15