gosec (2-amd64)
Installation
docker pull git.cryptic.systems/volker.raschek/gosec:2-amd64
sha256:d88d40bb7f4fbc5b6ee27536c41c2b1a1ecb4cad77dd508234c8d7ebc907647c
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.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 /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 |
|1 GOSEC_VERSION=v2.19.0 /bin/sh -c apk update && apk upgrade && apk add git make |
|1 GOSEC_VERSION=v2.19.0 /bin/sh -c if [ ! -z "${GOSEC_VERSION}" ]; then set -ex; go install github.com/securego/gosec/v2/cmd/gosec@${GOSEC_VERSION}; fi |
|1 GOSEC_VERSION=v2.19.0 /bin/sh -c if [ -z "${GOSEC_VERSION}" ]; then set -ex; go install github.com/securego/gosec/v2/cmd/gosec@latest; fi |
|1 GOSEC_VERSION=v2.19.0 /bin/sh -c cp /go/bin/gosec /usr/bin/gosec && rm -rf /go/* |
ENTRYPOINT ["/usr/bin/gosec"] |
LABEL org.opencontainers.image.created=2024-02-15T18:03:09Z |
LABEL org.opencontainers.image.revision=4362311fdbabe9c0902e2acd8fe1581a60fe8c8b |
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-02-15T18:03:09Z |
org.opencontainers.image.revision | 4362311fdbabe9c0902e2acd8fe1581a60fe8c8b |
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-02-15 18:05:40 +00:00
Versions (29)
View all
Container
124
OCI / Docker
linux/amd64
120 MiB