mirror of
https://github.com/openfaas/faas.git
synced 2025-06-18 20:16:37 +00:00
Push fwatchdog to 0.03-alpha and update
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
FROM alpine:latest
|
||||
|
||||
ADD https://github.com/alexellis/faas/releases/download/v0.1-alpha/fwatchdog /usr/bin
|
||||
ADD https://github.com/alexellis/faas/releases/download/v0.3-alpha/fwatchdog /usr/bin
|
||||
RUN chmod +x /usr/bin/fwatchdog
|
||||
|
||||
# Populate example here
|
||||
|
@ -1,7 +1,7 @@
|
||||
FROM alpine:latest
|
||||
RUN apk --update add nodejs
|
||||
|
||||
ADD https://github.com/alexellis/faas/releases/download/v0.1-alpha/fwatchdog /usr/bin
|
||||
ADD https://github.com/alexellis/faas/releases/download/v0.3-alpha/fwatchdog /usr/bin
|
||||
RUN chmod +x /usr/bin/fwatchdog
|
||||
|
||||
COPY package.json .
|
||||
|
@ -1,7 +1,7 @@
|
||||
FROM alpine:latest
|
||||
RUN apk --update add nodejs
|
||||
|
||||
ADD https://github.com/alexellis/faas/releases/download/v0.1-alpha/fwatchdog /usr/bin
|
||||
ADD https://github.com/alexellis/faas/releases/download/v0.3-alpha/fwatchdog /usr/bin
|
||||
RUN chmod +x /usr/bin/fwatchdog
|
||||
|
||||
COPY package.json .
|
||||
|
@ -8,7 +8,7 @@ COPY . /go/src/github.com/alexellis/faas/sample-functions/DockerHubStats
|
||||
|
||||
RUN make
|
||||
|
||||
ADD https://github.com/alexellis/faas/releases/download/v0.1-alpha/fwatchdog /usr/bin
|
||||
ADD https://github.com/alexellis/faas/releases/download/v0.3-alpha/fwatchdog /usr/bin
|
||||
RUN chmod +x /usr/bin/fwatchdog
|
||||
|
||||
ENV fprocess "/go/bin/DockerHubStats"
|
||||
|
3
sample-functions/DockerHubStats/build.sh
Executable file
3
sample-functions/DockerHubStats/build.sh
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
docker build -t alexellis2/faas-hubstats .
|
@ -1,7 +1,7 @@
|
||||
FROM alpine:latest
|
||||
RUN apk --update add nodejs
|
||||
|
||||
ADD https://github.com/alexellis/faas/releases/download/v0.1-alpha/fwatchdog /usr/bin
|
||||
ADD https://github.com/alexellis/faas/releases/download/v0.3-alpha/fwatchdog /usr/bin
|
||||
RUN chmod +x /usr/bin/fwatchdog
|
||||
|
||||
COPY package.json .
|
||||
|
@ -1,7 +1,7 @@
|
||||
FROM alpine:latest
|
||||
RUN apk --update add nodejs
|
||||
|
||||
ADD https://github.com/alexellis/faas/releases/download/v0.1-alpha/fwatchdog /usr/bin
|
||||
ADD https://github.com/alexellis/faas/releases/download/v0.3-alpha/fwatchdog /usr/bin
|
||||
RUN chmod +x /usr/bin/fwatchdog
|
||||
|
||||
COPY package.json .
|
||||
|
3
sample-functions/NodeInfo/build.sh
Executable file
3
sample-functions/NodeInfo/build.sh
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
docker build -t alexellis2/faas-nodeinfo .
|
@ -5,7 +5,8 @@ WORKDIR /go/src/app
|
||||
RUN go get -d -v
|
||||
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o app .
|
||||
|
||||
ADD https://github.com/alexellis/faas/releases/download/v0.1-alpha/fwatchdog /usr/bin
|
||||
|
||||
ADD https://github.com/alexellis/faas/releases/download/v0.3-alpha/fwatchdog /usr/bin
|
||||
RUN chmod +x /usr/bin/fwatchdog
|
||||
# COPY fwatchdog /usr/bin/
|
||||
|
||||
|
3
sample-functions/WebhookStash/build.sh
Executable file
3
sample-functions/WebhookStash/build.sh
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
docker build -t alexellis2/faas-webhookstash .
|
@ -1,7 +1,7 @@
|
||||
FROM alpine:latest
|
||||
ENTRYPOINT []
|
||||
|
||||
ADD https://github.com/alexellis/faas/releases/download/v0.1-alpha/fwatchdog /usr/bin
|
||||
ADD https://github.com/alexellis/faas/releases/download/v0.3-alpha/fwatchdog /usr/bin
|
||||
RUN chmod +x /usr/bin/fwatchdog
|
||||
|
||||
ENV fprocess "/bin/cat"
|
||||
|
Reference in New Issue
Block a user