Skip to content

Commit

Permalink
Updating busybox version to fix CVEs (#216)
Browse files Browse the repository at this point in the history
* update busybox version to fix CVEs

Signed-off-by: Nishant Gupta <[email protected]>

* Addressing review comments

Signed-off-by: Nishant Gupta <[email protected]>
  • Loading branch information
nishant-yt authored Aug 5, 2022
1 parent a064530 commit 1a09a2d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,10 @@ RUN GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -o /src/${PROJECT_NAME} \
# =============================================================================
FROM ${DOCKER_REGISTRY:+$DOCKER_REGISTRY/}alpine:${ALPINE_VERSION} AS final

RUN apk add --update \
RUN apk update && apk add --upgrade \
sudo \
libcap
libcap \
busybox

ARG PROJECT_NAME=bookkeeper-operator

Expand Down

0 comments on commit 1a09a2d

Please sign in to comment.