gosec (latest-amd64)

Published 2024-11-21 20:58:43 +00:00 by volker.raschek in volker.raschek/gosec-docker

Installation

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

Image Layers

ADD alpine-minirootfs-3.20.3-x86_64.tar.gz / # buildkit
CMD ["/bin/sh"]
RUN /bin/sh -c apk add --no-cache ca-certificates # buildkit
ENV GOLANG_VERSION=1.23.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 /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=2024-11-21T20:52:35Z
LABEL org.opencontainers.image.revision=964014d4ecd578851fdbb3631a2237edbac3c16a
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-11-21T20:52:35Z
org.opencontainers.image.revision 964014d4ecd578851fdbb3631a2237edbac3c16a
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-11-21 20:58:43 +00:00
171
OCI / Docker
linux/amd64
299 MiB
Versions (29) View all
latest-amd64 2024-11-21
latest-arm64-v8 2024-11-21
latest 2024-11-07
2 2024-02-15
2.19 2024-02-15