Skip to content

Commit e14c0ed

Browse files
committed
Use GHCR for the classic watchdog
Fixes a multi-arch issue with the classic templates Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
1 parent 8a284e1 commit e14c0ed

File tree

9 files changed

+9
-9
lines changed

9 files changed

+9
-9
lines changed

template/csharp/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM openfaas/classic-watchdog:0.18.18 as watchdog
1+
FROM ghcr.io/openfaas/classic-watchdog:0.1.2 as watchdog
22

33
FROM mcr.microsoft.com/dotnet/core/sdk:3.1 as builder
44

template/dockerfile/function/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM openfaas/classic-watchdog:0.18.18 as watchdog
1+
FROM ghcr.io/openfaas/classic-watchdog:0.1.2 as watchdog
22

33
FROM alpine:3.12
44

template/go/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM --platform=${TARGETPLATFORM:-linux/amd64} openfaas/classic-watchdog:0.18.18 as watchdog
1+
FROM --platform=${TARGETPLATFORM:-linux/amd64} ghcr.io/openfaas/classic-watchdog:0.1.2 as watchdog
22
FROM --platform=${BUILDPLATFORM:-linux/amd64} golang:1.13-alpine3.12 as builder
33

44
# Required to enable Go modules

template/node/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM --platform=${TARGETPLATFORM:-linux/amd64} openfaas/classic-watchdog:0.18.18 as watchdog
1+
FROM --platform=${TARGETPLATFORM:-linux/amd64} ghcr.io/openfaas/classic-watchdog:0.1.2 as watchdog
22
FROM --platform=${TARGETPLATFORM:-linux/amd64} node:12.13.0-alpine as ship
33

44
COPY --from=watchdog /fwatchdog /usr/bin/fwatchdog

template/php7/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM --platform=${TARGETPLATFORM:-linux/amd64} openfaas/classic-watchdog:0.18.18 as watchdog
1+
FROM --platform=${TARGETPLATFORM:-linux/amd64} ghcr.io/openfaas/classic-watchdog:0.1.2 as watchdog
22

33
# start with the official Composer image and name it
44
FROM --platform=${TARGETPLATFORM:-linux/amd64} composer:1.7 AS composer

template/python/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM --platform=${TARGETPLATFORM:-linux/amd64} openfaas/classic-watchdog:0.18.18 as watchdog
1+
FROM --platform=${TARGETPLATFORM:-linux/amd64} ghcr.io/openfaas/classic-watchdog:0.1.2 as watchdog
22

33
FROM --platform=${TARGETPLATFORM:-linux/amd64} python:2.7-alpine
44

template/python3-debian/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM --platform=${TARGETPLATFORM:-linux/amd64} openfaas/classic-watchdog:0.18.18 as watchdog
1+
FROM --platform=${TARGETPLATFORM:-linux/amd64} ghcr.io/openfaas/classic-watchdog:0.1.2 as watchdog
22
FROM --platform=${TARGETPLATFORM:-linux/amd64} python:3
33

44
# Allows you to add additional packages via build-arg

template/python3/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM --platform=${TARGETPLATFORM:-linux/amd64} openfaas/classic-watchdog:0.18.18 as watchdog
1+
FROM --platform=${TARGETPLATFORM:-linux/amd64} ghcr.io/openfaas/classic-watchdog:0.1.2 as watchdog
22

33
FROM --platform=${TARGETPLATFORM:-linux/amd64} python:3-alpine
44

template/ruby/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM --platform=${TARGETPLATFORM:-linux/amd64} openfaas/classic-watchdog:0.18.18 as watchdog
1+
FROM --platform=${TARGETPLATFORM:-linux/amd64} ghcr.io/openfaas/classic-watchdog:0.1.2 as watchdog
22

33
FROM --platform=${TARGETPLATFORM:-linux/amd64} ruby:alpine
44

0 commit comments

Comments
 (0)