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 <vivekkmr45@yahoo.in>
This commit is contained in:
Vivek Singh
2018-04-01 15:56:51 +05:30
committed by Alex Ellis
parent 38be3d543f
commit 42edd5f00a
3 changed files with 3 additions and 3 deletions

View File

@ -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 .

View File

@ -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 .

View File

@ -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 .