From 42edd5f00aa97d5ee031d9668b92a5b10ccdcf13 Mon Sep 17 00:00:00 2001 From: Vivek Singh Date: Sun, 1 Apr 2018 15:56:51 +0530 Subject: [PATCH] Update nodeinfo sample function Update the NodeInfo sample function to use latest watchdog version (0.7.7) to support both GET and POST method. Signed-off-by: Vivek Singh --- sample-functions/NodeInfo/Dockerfile | 2 +- sample-functions/NodeInfo/Dockerfile.arm64 | 2 +- sample-functions/NodeInfo/Dockerfile.armhf | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sample-functions/NodeInfo/Dockerfile b/sample-functions/NodeInfo/Dockerfile index 64ccd73f..cb509bcd 100644 --- a/sample-functions/NodeInfo/Dockerfile +++ b/sample-functions/NodeInfo/Dockerfile @@ -2,7 +2,7 @@ FROM alpine:3.6 RUN apk --update add nodejs nodejs-npm -ADD https://github.com/openfaas/faas/releases/download/0.7.1/fwatchdog /usr/bin +ADD https://github.com/openfaas/faas/releases/download/0.7.7/fwatchdog /usr/bin RUN chmod +x /usr/bin/fwatchdog COPY package.json . diff --git a/sample-functions/NodeInfo/Dockerfile.arm64 b/sample-functions/NodeInfo/Dockerfile.arm64 index d90a5860..bb21c9db 100644 --- a/sample-functions/NodeInfo/Dockerfile.arm64 +++ b/sample-functions/NodeInfo/Dockerfile.arm64 @@ -2,7 +2,7 @@ FROM arm64v8/alpine:3.6 RUN apk --update add nodejs nodejs-npm -ADD https://github.com/openfaas/faas/releases/download/0.7.1/fwatchdog-arm64 /usr/bin/fwatchdog +ADD https://github.com/openfaas/faas/releases/download/0.7.7/fwatchdog-arm64 /usr/bin/fwatchdog RUN chmod +x /usr/bin/fwatchdog COPY package.json . diff --git a/sample-functions/NodeInfo/Dockerfile.armhf b/sample-functions/NodeInfo/Dockerfile.armhf index 2da6454f..a5d03090 100644 --- a/sample-functions/NodeInfo/Dockerfile.armhf +++ b/sample-functions/NodeInfo/Dockerfile.armhf @@ -1,7 +1,7 @@ FROM alpine:3.6 RUN apk --no-cache add nodejs nodejs-npm -ADD https://github.com/openfaas/faas/releases/download/0.7.1/fwatchdog-armhf /usr/bin/fwatchdog +ADD https://github.com/openfaas/faas/releases/download/0.7.7/fwatchdog-armhf /usr/bin/fwatchdog RUN chmod +x /usr/bin/fwatchdog COPY package.json .