Skip to content

Commit

Permalink
fix: Address CVE in Alpine base image (#367)
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 abaf377 commit 990d379
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 @@ -42,6 +42,8 @@ LABEL Name=device-rest-go Version=${VERSION}

# 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-rest-go/cmd /
COPY --from=builder /device-rest-go/LICENSE /
Expand Down

0 comments on commit 990d379

Please sign in to comment.