Skip to content

Commit

Permalink
Bump base alpine versions to 3.19.1
Browse files Browse the repository at this point in the history
This resolves warnings for several CVEs

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
  • Loading branch information
alexellis committed Apr 29, 2024
1 parent 6f0a6a0 commit e1f215f
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion alpine/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM --platform=${TARGETPLATFORM:-linux/amd64} ghcr.io/openfaas/classic-watchdog:0.1.4 as watchdog

FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine:3.17.3
FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine:3.19.1

COPY --from=watchdog /fwatchdog /usr/bin/fwatchdog
RUN chmod +x /usr/bin/fwatchdog
Expand Down
2 changes: 1 addition & 1 deletion curl/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM --platform=${TARGETPLATFORM:-linux/amd64} ghcr.io/openfaas/classic-watchdog:0.1.4 as watchdog

FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine:3.16
FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine:3.19.1

RUN mkdir -p /home/app

Expand Down
2 changes: 1 addition & 1 deletion ffmpeg/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM --platform=${TARGETPLATFORM:-linux/amd64} ghcr.io/openfaas/classic-watchdog:0.1.4 as watchdog

FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine:3.17.3
FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine:3.19.1

RUN mkdir -p /home/app

Expand Down
2 changes: 1 addition & 1 deletion figlet/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM --platform=${TARGETPLATFORM:-linux/amd64} ghcr.io/openfaas/classic-watchdog:0.1.4 as watchdog

FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine:3.17.3
FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine:3.19.1

RUN mkdir -p /home/app

Expand Down
2 changes: 1 addition & 1 deletion hey/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ RUN mkdir -p bin
RUN GOOS=${TARGETOS} GOARCH=${TARGETARCH} CGO_ENABLED=${CGO_ENABLED} \
go build --ldflags "-s -w" -a -installsuffix cgo -o bin/hey .

FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine:3.17.3
FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine:3.19.1
RUN apk --no-cache add ca-certificates \
&& addgroup -S app && adduser -S -g app app \
&& mkdir -p /home/app \
Expand Down
2 changes: 1 addition & 1 deletion imagemagick/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM --platform=${TARGETPLATFORM:-linux/amd64} ghcr.io/openfaas/classic-watchdog:0.1.4 as watchdog

FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine:3.17.3
FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine:3.19.1

RUN mkdir -p /home/app

Expand Down
2 changes: 1 addition & 1 deletion nmap/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM --platform=${TARGETPLATFORM:-linux/amd64} ghcr.io/openfaas/classic-watchdog:0.1.4 as watchdog

FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine:3.17.3
FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine:3.19.1

RUN mkdir -p /home/app

Expand Down
2 changes: 1 addition & 1 deletion nslookup/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM --platform=${TARGETPLATFORM:-linux/amd64} ghcr.io/openfaas/classic-watchdog:0.1.4 as watchdog

FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine:3.17.3
FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine:3.19.1

RUN mkdir -p /home/app

Expand Down
2 changes: 1 addition & 1 deletion shasum/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM --platform=${TARGETPLATFORM:-linux/amd64} ghcr.io/openfaas/classic-watchdog:0.1.4 as watchdog

FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine:3.17.3
FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine:3.19.1

RUN mkdir -p /home/app

Expand Down
2 changes: 1 addition & 1 deletion youtube-dl/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM --platform=${TARGETPLATFORM:-linux/amd64} ghcr.io/openfaas/classic-watchdog:0.2.2 as watchdog

FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine:3.17.3 as ship
FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine:3.19.1 as ship

COPY --from=watchdog /fwatchdog /usr/bin/fwatchdog
RUN chmod +x /usr/bin/fwatchdog
Expand Down

0 comments on commit e1f215f

Please sign in to comment.