Skip to content

Commit

Permalink
build: rebuild images to fix CVEs
Browse files Browse the repository at this point in the history
  • Loading branch information
dkoshkin committed Dec 19, 2023
1 parent dbe1a20 commit bed088b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
4 changes: 3 additions & 1 deletion controller/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
FROM quay.io/metallb/controller:v0.12.1 AS source

FROM alpine:latest

ADD controller /controller
COPY --from=source controller /controller

# When running as non root and building in an environment that `umask` masks out
# '+x' for others, it won't be possible to execute. Make sure all can execute,
Expand Down
8 changes: 5 additions & 3 deletions speaker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
FROM quay.io/metallb/speaker:v0.12.1 AS source

FROM alpine:latest

ADD frr-reloader.sh /frr-reloader.sh
ADD frr-metrics /frr-metrics
ADD speaker /speaker
COPY --from=source frr-reloader.sh /frr-reloader.sh
COPY --from=source frr-metrics /frr-metrics
COPY --from=source speaker /speaker

# When running as non root and building in an environment that `umask` masks out
# '+x' for others, it won't be possible to execute. Make sure all can execute,
Expand Down

0 comments on commit bed088b

Please sign in to comment.