We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad2a29a commit a445611Copy full SHA for a445611
Dockerfile
@@ -14,9 +14,10 @@ RUN CGO_ENABLED=0 go build -trimpath -ldflags="\
14
-extldflags '-static'" \
15
-a -mod vendor -o vulctl cmd/vulctl/main.go
16
17
-# chainguard's static seems to provide best balance of size and vulnerabilities
18
-# gogole/distroless: 13.3 MB, 9 vulnerabilities (all low)
19
-# chainguard/static: 5.7 MB, 0 vulnerabilities
+# The base image from chainguard seems to provide best balance of
+# size and vulnerabilities:
+# - gogole/distroless: 13.3 MB, 9 vulnerabilities (all low)
20
+# - chainguard/static: 5.7 MB, 0 vulnerabilities
21
FROM cgr.dev/chainguard/static:latest
22
COPY --from=build-env /src/vulctl /
23
ENTRYPOINT ["/vulctl"]
0 commit comments