Upgrade to alpine:3.15 where possible

Upgrades OS for some base images, no expected issues.

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
This commit is contained in:
Alex Ellis (OpenFaaS Ltd)
2022-02-21 10:30:22 +00:00
parent e29d96a172
commit b4293967d2
25 changed files with 37 additions and 33 deletions

View File

@ -1,4 +1,4 @@
FROM openfaas/classic-watchdog:0.18.8 as watchdog
FROM ghcr.io/openfaas/classic-watchdog:0.2.0 as watchdog
FROM golang:1.13-alpine as builder
ENV CGO_ENABLED=0
@ -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.14
FROM alpine:3.15 as ship
# Needed to reach the hub
RUN apk --no-cache add ca-certificates

View File

@ -13,7 +13,7 @@ COPY . /go/src/github.com/openfaas/faas/sample-functions/DockerHubStats
RUN make install
FROM alpine:3.14
FROM alpine:3.15 as ship
# Needed to reach the hub
RUN apk --no-cache add ca-certificates