From 3c3e808fc2a18fbfe37bcc128b1dbfab2a59e431 Mon Sep 17 00:00:00 2001 From: Mark Chmarny Date: Fri, 10 Mar 2023 11:51:24 -0800 Subject: [PATCH] change based image --- .version | 2 +- Dockerfile | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.version b/.version index d3afc3c9..21ee8b2d 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -v0.2.10 \ No newline at end of file +v0.2.11 \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 6b573629..4ade442d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,6 +14,7 @@ RUN CGO_ENABLED=0 go build -trimpath -ldflags="\ -extldflags '-static'" \ -a -mod vendor -o vulctl cmd/vulctl/main.go -FROM gcr.io/distroless/base +# chainguard's static seems to bring list of vulnerabilities +FROM cgr.dev/chainguard/static:latest COPY --from=build-env /src/vulctl / ENTRYPOINT ["/vulctl"]