Delete old shell scripts

Signed-off-by: Alex Ellis <alexellis2@gmail.com>
This commit is contained in:
Alex Ellis 2017-12-28 19:17:59 +00:00
parent 05cdbcc04d
commit 1c2817c834
8 changed files with 7 additions and 9 deletions

View File

@ -1,3 +1,3 @@
#!/bin/bash
#!/bin/sh
docker build -f Dockerfile.armhf -t functions/alpine:latest-armhf .

View File

@ -7,6 +7,8 @@ RUN chmod +x /usr/bin/fwatchdog
COPY package.json .
COPY main.js .
RUN npm i
ENV fprocess="node main.js"
CMD ["fwatchdog"]

View File

@ -1,3 +0,0 @@
FROM functions/nodebase:alpine-6.9.1
COPY handler.js .

View File

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

View File

@ -1,3 +0,0 @@
#!/bin/bash
docker build -t functions/nodeinfo:func . -f Dockerfile.func

View File

@ -4,6 +4,7 @@ let fs = require('fs');
let util = require('util');
module.exports = (content, callback) => {
fs.readFile("/etc/hostname", "utf8", (err, data) => {
let val = "";
val += "Hostname: " + data +"\n";

View File

@ -5,6 +5,7 @@ let fs = require('fs');
const getStdin = require('get-stdin');
getStdin().then((content) => {
fs.readFile("/etc/hostname", "utf8", (err, data) => {
console.log("Hostname: " + data);
console.log("Platform: " + os.platform());

View File

@ -1,3 +1,3 @@
#!/bin/bash
#!/bin/sh
faas-cli build -f samples.yml --parallel 4