gosec (latest-arm64-v8)

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

Installation

docker pull git.cryptic.systems/volker.raschek/gosec:latest-arm64-v8
sha256:0e8f8c2e93299514de2a7cc2f1e49279d95dbabd78e8810d5f8d7928ee20b54f

Image Layers

ADD alpine-minirootfs-3.20.3-aarch64.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:22:51Z
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:22:51Z
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:27:52 +00:00
171
OCI / Docker
linux/arm64/v8
293 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