mirror of
https://github.com/openfaas/faas.git
synced 2025-06-18 20:16:37 +00:00
Move to Alpine 3.16 and add blog posts
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alex@openfaas.com>
This commit is contained in:
@ -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.4
|
||||
FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine:3.16.0
|
||||
|
||||
COPY --from=watchdog /fwatchdog /usr/bin/fwatchdog
|
||||
RUN chmod +x /usr/bin/fwatchdog
|
||||
|
@ -1,6 +1,6 @@
|
||||
FROM ghcr.io/openfaas/classic-watchdog:0.2.0 as watchdog
|
||||
|
||||
FROM alpine:3.15.4 as builder
|
||||
FROM alpine:3.16.0 as builder
|
||||
COPY --from=watchdog /fwatchdog /usr/bin/fwatchdog
|
||||
RUN chmod +x /usr/bin/fwatchdog
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
FROM ghcr.io/openfaas/classic-watchdog:0.2.0 as watchdog
|
||||
|
||||
FROM alpine:3.15.4 as ship
|
||||
FROM alpine:3.16.0 as ship
|
||||
RUN apk --update add nodejs npm
|
||||
|
||||
COPY --from=watchdog /fwatchdog /usr/bin/fwatchdog
|
||||
|
@ -1,6 +1,6 @@
|
||||
FROM ghcr.io/openfaas/classic-watchdog:0.2.0 as watchdog
|
||||
|
||||
FROM alpine:3.15.4 as ship
|
||||
FROM alpine:3.16.0 as ship
|
||||
RUN apk --update add nodejs npm
|
||||
|
||||
COPY --from=watchdog /fwatchdog /usr/bin/fwatchdog
|
||||
|
@ -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.4 as ship
|
||||
FROM alpine:3.16.0 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.15.4 as ship
|
||||
FROM alpine:3.16.0 as ship
|
||||
|
||||
# Needed to reach the hub
|
||||
RUN apk --no-cache add ca-certificates
|
||||
|
@ -13,7 +13,7 @@ COPY vendor vendor
|
||||
|
||||
RUN go install
|
||||
|
||||
FROM alpine:3.15.4 as ship
|
||||
FROM alpine:3.16.0 as ship
|
||||
|
||||
COPY --from=watchdog /fwatchdog /usr/bin/fwatchdog
|
||||
RUN chmod +x /usr/bin/fwatchdog
|
||||
|
@ -1,6 +1,6 @@
|
||||
FROM ghcr.io/openfaas/classic-watchdog:0.2.0 as watchdog
|
||||
|
||||
FROM alpine:3.15.4 as ship
|
||||
FROM alpine:3.16.0 as ship
|
||||
|
||||
COPY --from=watchdog /fwatchdog /usr/bin/fwatchdog
|
||||
RUN chmod +x /usr/bin/fwatchdog
|
||||
|
@ -1,6 +1,6 @@
|
||||
FROM ghcr.io/openfaas/classic-watchdog:0.2.0 as watchdog
|
||||
|
||||
FROM arm32v6/alpine:3.15.4
|
||||
FROM arm32v6/alpine:3.16.0
|
||||
|
||||
RUN apk --no-cache add imagemagick
|
||||
|
||||
|
@ -12,7 +12,7 @@ COPY handler.go .
|
||||
|
||||
RUN go install
|
||||
|
||||
FROM alpine:3.15.4 as ship
|
||||
FROM alpine:3.16.0 as ship
|
||||
|
||||
COPY --from=watchdog /fwatchdog /usr/bin/fwatchdog
|
||||
RUN chmod +x /usr/bin/fwatchdog
|
||||
|
@ -1,6 +1,6 @@
|
||||
FROM ghcr.io/openfaas/classic-watchdog:0.2.0 as watchdog
|
||||
|
||||
FROM alpine:3.15.4 as ship
|
||||
FROM alpine:3.16.0 as ship
|
||||
|
||||
RUN mkdir -p /home/app
|
||||
|
||||
|
Reference in New Issue
Block a user