mirror of
https://github.com/openfaas/faas.git
synced 2025-06-18 12:06:37 +00:00
Pending ARMhf changes
This commit is contained in:
12
sample-functions/NodeInfo/Dockerfile.armhf
Normal file
12
sample-functions/NodeInfo/Dockerfile.armhf
Normal file
@ -0,0 +1,12 @@
|
||||
FROM armhf/alpine:latest
|
||||
RUN apk --update add nodejs
|
||||
|
||||
COPY fwatchdog /usr/bin
|
||||
|
||||
RUN chmod +x /usr/bin/fwatchdog
|
||||
|
||||
COPY package.json .
|
||||
COPY main.js .
|
||||
RUN npm i
|
||||
ENV fprocess="node main.js"
|
||||
CMD ["fwatchdog"]
|
3
sample-functions/NodeInfo/build.armhf.sh
Executable file
3
sample-functions/NodeInfo/build.armhf.sh
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
docker build -f Dockerfile.armhf -t alexellis2/faas-nodeinfo:latest-armhf .
|
Reference in New Issue
Block a user