Skip to content

Commit

Permalink
change based image
Browse files Browse the repository at this point in the history
  • Loading branch information
mchmarny committed Mar 10, 2023
1 parent c6b7607 commit 3c3e808
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v0.2.10
v0.2.11
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

0 comments on commit 3c3e808

Please sign in to comment.