Skip to content

Commit 05a3ea5

Browse files
committed
Move to Node 12.x template
This means fewer template changes to move between minor versions We also had an issue reported on Slack, where the older image had been overwriten by the Docker Hub with a non-multi-arch image. Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
1 parent cb63c1b commit 05a3ea5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

template/node/Dockerfile

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

44
COPY --from=watchdog /fwatchdog /usr/bin/fwatchdog
55
RUN chmod +x /usr/bin/fwatchdog

template/node12/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
FROM --platform=${TARGETPLATFORM:-linux/amd64} openfaas/of-watchdog:0.7.2 as watchdog
2-
FROM --platform=${TARGETPLATFORM:-linux/amd64} node:12.13.0-alpine as ship
2+
FROM --platform=${TARGETPLATFORM:-linux/amd64} node:12-alpine as ship
33

44
COPY --from=watchdog /fwatchdog /usr/bin/fwatchdog
55
RUN chmod +x /usr/bin/fwatchdog

0 commit comments

Comments
 (0)