Pending ARMhf changes

This commit is contained in:
Alex Ellis
2017-01-30 22:15:06 +00:00
parent 018b065ef1
commit 1aba6699fe
13 changed files with 174 additions and 36 deletions

View 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"]

View File

@ -0,0 +1,3 @@
#!/bin/bash
docker build -f Dockerfile.armhf -t alexellis2/faas-nodeinfo:latest-armhf .