mirror of
https://github.com/openfaas/faas.git
synced 2025-06-09 08:46:48 +00:00
Delete old shell scripts
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
This commit is contained in:
parent
05cdbcc04d
commit
1c2817c834
@ -1,3 +1,3 @@
|
||||
#!/bin/bash
|
||||
#!/bin/sh
|
||||
|
||||
docker build -f Dockerfile.armhf -t functions/alpine:latest-armhf .
|
||||
|
@ -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"]
|
||||
|
@ -1,3 +0,0 @@
|
||||
FROM functions/nodebase:alpine-6.9.1
|
||||
|
||||
COPY handler.js .
|
@ -1,3 +1,3 @@
|
||||
#!/bin/bash
|
||||
#!/bin/sh
|
||||
|
||||
docker build -f Dockerfile.armhf -t functions/nodeinfo:latest-armhf .
|
||||
|
@ -1,3 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
docker build -t functions/nodeinfo:func . -f Dockerfile.func
|
@ -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";
|
||||
|
@ -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());
|
||||
|
@ -1,3 +1,3 @@
|
||||
#!/bin/bash
|
||||
#!/bin/sh
|
||||
|
||||
faas-cli build -f samples.yml --parallel 4
|
||||
|
Loading…
x
Reference in New Issue
Block a user