diff --git a/sample-functions/AlpineFunction/Dockerfile.arm64 b/sample-functions/AlpineFunction/Dockerfile.arm64 index 36dee0c6..c04ee441 100644 --- a/sample-functions/AlpineFunction/Dockerfile.arm64 +++ b/sample-functions/AlpineFunction/Dockerfile.arm64 @@ -1,8 +1,8 @@ -FROM arm64v8/alpine:3.7 +FROM alpine:3.7 -ADD https://github.com/alexellis/faas/releases/download/0.9.0/fwatchdog-arm64 /usr/bin/fwatchdog -# COPY ./fwatchdog /usr/bin/ -RUN chmod +x /usr/bin/fwatchdog +RUN apk --no-cache add curl \ + && curl -sL https://github.com/openfaas/faas/releases/download/0.9.0/fwatchdog-arm64 > /usr/bin/fwatchdog \ + && chmod +x /usr/bin/fwatchdog # Populate example here # ENV fprocess="wc -l" diff --git a/sample-functions/NodeInfo/Dockerfile.arm64 b/sample-functions/NodeInfo/Dockerfile.arm64 index b6a8586e..e226ed49 100644 --- a/sample-functions/NodeInfo/Dockerfile.arm64 +++ b/sample-functions/NodeInfo/Dockerfile.arm64 @@ -1,9 +1,10 @@ -FROM arm64v8/alpine:3.7 +FROM alpine:3.7 RUN apk --update add nodejs nodejs-npm -ADD https://github.com/openfaas/faas/releases/download/0.9.0/fwatchdog-arm64 /usr/bin/fwatchdog -RUN chmod +x /usr/bin/fwatchdog +RUN apk --no-cache add curl \ + && curl -sL https://github.com/openfaas/faas/releases/download/0.9.0/fwatchdog-arm64 > /usr/bin/fwatchdog \ + && chmod +x /usr/bin/fwatchdog COPY package.json . COPY main.js .