diff --git a/auth/basic-auth/Dockerfile b/auth/basic-auth/Dockerfile index c848779d..fb69ae3b 100644 --- a/auth/basic-auth/Dockerfile +++ b/auth/basic-auth/Dockerfile @@ -26,7 +26,7 @@ RUN CGO_ENABLED=${CGO_ENABLED} GOOS=${TARGETOS} GOARCH=${TARGETARCH} go test -v RUN CGO_ENABLED=${CGO_ENABLED} GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build \ --ldflags "-s -w" -a -installsuffix cgo -o handler . -FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine:3.15 as ship +FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine:3.15.4 as ship # Add non-root user RUN addgroup -S app && adduser -S -g app app \ && mkdir -p /home/app \ diff --git a/gateway/Dockerfile b/gateway/Dockerfile index 12e4dd15..4631ac11 100644 --- a/gateway/Dockerfile +++ b/gateway/Dockerfile @@ -44,7 +44,7 @@ RUN CGO_ENABLED=${CGO_ENABLED} GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build -- -X github.com/openfaas/faas/gateway/types.Arch=${TARGETARCH}" \ -a -installsuffix cgo -o gateway . -FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine:3.15 as ship +FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine:3.15.4 as ship LABEL org.label-schema.license="MIT" \ org.label-schema.vcs-url="https://github.com/openfaas/faas" \ diff --git a/sample-functions/AlpineFunction/Dockerfile b/sample-functions/AlpineFunction/Dockerfile index b0ab3b92..704fe1ec 100644 --- a/sample-functions/AlpineFunction/Dockerfile +++ b/sample-functions/AlpineFunction/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.15 +FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine:3.15.4 COPY --from=watchdog /fwatchdog /usr/bin/fwatchdog RUN chmod +x /usr/bin/fwatchdog diff --git a/sample-functions/CHelloWorld/src/Dockerfile b/sample-functions/CHelloWorld/src/Dockerfile index 77d8e9b5..b2832c5e 100644 --- a/sample-functions/CHelloWorld/src/Dockerfile +++ b/sample-functions/CHelloWorld/src/Dockerfile @@ -1,6 +1,6 @@ FROM ghcr.io/openfaas/classic-watchdog:0.2.0 as watchdog -FROM alpine:3.15 as builder +FROM alpine:3.15.4 as builder COPY --from=watchdog /fwatchdog /usr/bin/fwatchdog RUN chmod +x /usr/bin/fwatchdog diff --git a/sample-functions/CaptainsIntent/Dockerfile b/sample-functions/CaptainsIntent/Dockerfile index 67f26169..3835910c 100644 --- a/sample-functions/CaptainsIntent/Dockerfile +++ b/sample-functions/CaptainsIntent/Dockerfile @@ -1,6 +1,6 @@ FROM ghcr.io/openfaas/classic-watchdog:0.2.0 as watchdog -FROM alpine:3.15 as ship +FROM alpine:3.15.4 as ship RUN apk --update add nodejs npm COPY --from=watchdog /fwatchdog /usr/bin/fwatchdog diff --git a/sample-functions/ChangeColorIntent/Dockerfile b/sample-functions/ChangeColorIntent/Dockerfile index a78e8735..498e1fa0 100644 --- a/sample-functions/ChangeColorIntent/Dockerfile +++ b/sample-functions/ChangeColorIntent/Dockerfile @@ -1,6 +1,6 @@ FROM ghcr.io/openfaas/classic-watchdog:0.2.0 as watchdog -FROM alpine:3.15 as ship +FROM alpine:3.15.4 as ship RUN apk --update add nodejs npm COPY --from=watchdog /fwatchdog /usr/bin/fwatchdog diff --git a/sample-functions/DockerHubStats/Dockerfile b/sample-functions/DockerHubStats/Dockerfile index 019fc81f..d8637e63 100644 --- a/sample-functions/DockerHubStats/Dockerfile +++ b/sample-functions/DockerHubStats/Dockerfile @@ -10,7 +10,7 @@ WORKDIR /go/src/github.com/openfaas/faas/sample-functions/DockerHubStats COPY . /go/src/github.com/openfaas/faas/sample-functions/DockerHubStats RUN set -ex && apk add make && make install -FROM alpine:3.15 as ship +FROM alpine:3.15.4 as ship # Needed to reach the hub RUN apk --no-cache add ca-certificates diff --git a/sample-functions/DockerHubStats/Dockerfile.armhf b/sample-functions/DockerHubStats/Dockerfile.armhf index 79c2943e..7301991a 100644 --- a/sample-functions/DockerHubStats/Dockerfile.armhf +++ b/sample-functions/DockerHubStats/Dockerfile.armhf @@ -13,7 +13,7 @@ COPY . /go/src/github.com/openfaas/faas/sample-functions/DockerHubStats RUN make install -FROM alpine:3.15 as ship +FROM alpine:3.15.4 as ship # Needed to reach the hub RUN apk --no-cache add ca-certificates diff --git a/sample-functions/MarkdownRender/Dockerfile b/sample-functions/MarkdownRender/Dockerfile index de0ae245..180f66b7 100644 --- a/sample-functions/MarkdownRender/Dockerfile +++ b/sample-functions/MarkdownRender/Dockerfile @@ -13,7 +13,7 @@ COPY vendor vendor RUN go install -FROM alpine:3.15 as ship +FROM alpine:3.15.4 as ship COPY --from=watchdog /fwatchdog /usr/bin/fwatchdog RUN chmod +x /usr/bin/fwatchdog diff --git a/sample-functions/Nmap/Dockerfile b/sample-functions/Nmap/Dockerfile index 39a833c1..5596af6f 100644 --- a/sample-functions/Nmap/Dockerfile +++ b/sample-functions/Nmap/Dockerfile @@ -1,6 +1,6 @@ FROM ghcr.io/openfaas/classic-watchdog:0.2.0 as watchdog -FROM alpine:3.15 as ship +FROM alpine:3.15.4 as ship COPY --from=watchdog /fwatchdog /usr/bin/fwatchdog RUN chmod +x /usr/bin/fwatchdog diff --git a/sample-functions/ResizeImageMagick/Dockerfile.armhf b/sample-functions/ResizeImageMagick/Dockerfile.armhf index 51b9457e..72a3d33b 100644 --- a/sample-functions/ResizeImageMagick/Dockerfile.armhf +++ b/sample-functions/ResizeImageMagick/Dockerfile.armhf @@ -1,6 +1,6 @@ FROM ghcr.io/openfaas/classic-watchdog:0.2.0 as watchdog -FROM arm32v6/alpine:3.15 +FROM arm32v6/alpine:3.15.4 RUN apk --no-cache add imagemagick diff --git a/sample-functions/WebhookStash/Dockerfile b/sample-functions/WebhookStash/Dockerfile index 39647c1d..5a648afe 100644 --- a/sample-functions/WebhookStash/Dockerfile +++ b/sample-functions/WebhookStash/Dockerfile @@ -12,7 +12,7 @@ COPY handler.go . RUN go install -FROM alpine:3.15 as ship +FROM alpine:3.15.4 as ship COPY --from=watchdog /fwatchdog /usr/bin/fwatchdog RUN chmod +x /usr/bin/fwatchdog diff --git a/sample-functions/hey/Dockerfile b/sample-functions/hey/Dockerfile index 3504e3b4..245b30fb 100644 --- a/sample-functions/hey/Dockerfile +++ b/sample-functions/hey/Dockerfile @@ -1,6 +1,6 @@ FROM ghcr.io/openfaas/classic-watchdog:0.2.0 as watchdog -FROM alpine:3.15 as ship +FROM alpine:3.15.4 as ship RUN mkdir -p /home/app