diff --git a/hack/dockerfiles/govulncheck.Dockerfile b/hack/dockerfiles/govulncheck.Dockerfile index 2d334c7a..df2cc876 100644 --- a/hack/dockerfiles/govulncheck.Dockerfile +++ b/hack/dockerfiles/govulncheck.Dockerfile @@ -6,6 +6,7 @@ ARG FORMAT="text" FROM golang:${GO_VERSION}-alpine AS base WORKDIR /go/src/github.com/docker/buildx +RUN apk add --no-cache jq moreutils ARG GOVULNCHECK_VERSION RUN --mount=type=cache,target=/root/.cache \ --mount=type=cache,target=/go/pkg/mod \ @@ -17,6 +18,12 @@ RUN --mount=type=bind,target=. <(sponge /out/govulncheck.out) + fi EOT FROM scratch AS output