From e1f215f2f1a91b6af769fbc0b59ba943e06331b7 Mon Sep 17 00:00:00 2001 From: "Alex Ellis (OpenFaaS Ltd)" Date: Mon, 29 Apr 2024 14:25:18 +0100 Subject: [PATCH] Bump base alpine versions to 3.19.1 This resolves warnings for several CVEs Signed-off-by: Alex Ellis (OpenFaaS Ltd) --- alpine/Dockerfile | 2 +- curl/Dockerfile | 2 +- ffmpeg/Dockerfile | 2 +- figlet/Dockerfile | 2 +- hey/Dockerfile | 2 +- imagemagick/Dockerfile | 2 +- nmap/Dockerfile | 2 +- nslookup/Dockerfile | 2 +- shasum/Dockerfile | 2 +- youtube-dl/Dockerfile | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/alpine/Dockerfile b/alpine/Dockerfile index 13ba12e..efedba2 100644 --- a/alpine/Dockerfile +++ b/alpine/Dockerfile @@ -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 diff --git a/curl/Dockerfile b/curl/Dockerfile index 7eb88d8..bd41309 100644 --- a/curl/Dockerfile +++ b/curl/Dockerfile @@ -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 diff --git a/ffmpeg/Dockerfile b/ffmpeg/Dockerfile index 37ead12..37d3e55 100644 --- a/ffmpeg/Dockerfile +++ b/ffmpeg/Dockerfile @@ -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 diff --git a/figlet/Dockerfile b/figlet/Dockerfile index 9ab651d..903c5e9 100644 --- a/figlet/Dockerfile +++ b/figlet/Dockerfile @@ -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 diff --git a/hey/Dockerfile b/hey/Dockerfile index dca47f4..0677fd3 100644 --- a/hey/Dockerfile +++ b/hey/Dockerfile @@ -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 \ diff --git a/imagemagick/Dockerfile b/imagemagick/Dockerfile index ae46ab2..d9cedd0 100644 --- a/imagemagick/Dockerfile +++ b/imagemagick/Dockerfile @@ -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 diff --git a/nmap/Dockerfile b/nmap/Dockerfile index 03ea01e..54479f7 100644 --- a/nmap/Dockerfile +++ b/nmap/Dockerfile @@ -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 diff --git a/nslookup/Dockerfile b/nslookup/Dockerfile index f8d6e55..57915da 100644 --- a/nslookup/Dockerfile +++ b/nslookup/Dockerfile @@ -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 diff --git a/shasum/Dockerfile b/shasum/Dockerfile index 61ea73b..ec757d7 100644 --- a/shasum/Dockerfile +++ b/shasum/Dockerfile @@ -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 diff --git a/youtube-dl/Dockerfile b/youtube-dl/Dockerfile index 4ce5c81..2faaeb8 100644 --- a/youtube-dl/Dockerfile +++ b/youtube-dl/Dockerfile @@ -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