Skip to content

Commit

Permalink
Update base image to fix controller vulnerability (#359)
Browse files Browse the repository at this point in the history
* Replace base image to fix controller vulnerability

* Use base instead of static base image for glibc

* Added necessary driver changes
  • Loading branch information
sahana-r authored May 16, 2023
1 parent ccd382c commit 16f810e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion containers/runtime/controller/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ RUN chmod 777 /workspace/config/defaults.yaml
# Build
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 GO111MODULE=on go build -a -o bin/controller cmd/controller/main.go

FROM debian:buster
FROM gcr.io/distroless/static-debian11
WORKDIR /workspace
COPY --from=builder /workspace .
CMD ["/workspace/bin/controller"]

0 comments on commit 16f810e

Please sign in to comment.