Skip to content

Commit

Permalink
fix: Address CVE in Alpine base image (#332)
Browse files Browse the repository at this point in the history
Signed-off-by: Leonard Goodell <[email protected]>
  • Loading branch information
Lenny Goodell authored Nov 14, 2023
1 parent 7e94b9f commit b852d33
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ FROM alpine:3.18

# dumb-init needed for injected secure bootstrapping entrypoint script when run in secure mode.
RUN apk add --update --no-cache dumb-init
# Ensure using latest versions of all installed packages to avoid any recent CVEs
RUN apk --no-cache upgrade

COPY --from=builder /device-snmp-go/cmd /
COPY --from=builder /device-snmp-go/Attribution.txt /
Expand Down

0 comments on commit b852d33

Please sign in to comment.