mirror of
https://github.com/openfaas/faas.git
synced 2025-06-20 13:06:40 +00:00
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:
@ -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
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user