mirror of
https://github.com/openfaas/faas.git
synced 2025-06-10 17:26:47 +00:00
Bump gateway and watchdog tags/versions
This commit bumps the non-arm gateway from 0.7.0 to 0.7.1 and the arm variants from 0.6.9 to 0.7.0. It also updates all watchdog versions to the 0.7.1 release. Signed-off-by: John McCabe <john@johnmccabe.net>
This commit is contained in:
parent
1c2b5c4ceb
commit
4e9d999554
@ -30,7 +30,7 @@ This one-shot script clones the code, sets up a Docker Swarm master node then de
|
|||||||
# docker swarm init --advertise-addr eth0 && \
|
# docker swarm init --advertise-addr eth0 && \
|
||||||
git clone https://github.com/openfaas/faas && \
|
git clone https://github.com/openfaas/faas && \
|
||||||
cd faas && \
|
cd faas && \
|
||||||
git checkout 0.7.0 && \
|
git checkout 0.7.1 && \
|
||||||
./deploy_stack.sh && \
|
./deploy_stack.sh && \
|
||||||
docker service ls
|
docker service ls
|
||||||
```
|
```
|
||||||
|
@ -5,7 +5,7 @@ services:
|
|||||||
- "/var/run/docker.sock:/var/run/docker.sock"
|
- "/var/run/docker.sock:/var/run/docker.sock"
|
||||||
ports:
|
ports:
|
||||||
- 8080:8080
|
- 8080:8080
|
||||||
image: functions/gateway:0.6.9-arm64
|
image: functions/gateway:0.7.0-arm64
|
||||||
networks:
|
networks:
|
||||||
- functions
|
- functions
|
||||||
environment:
|
environment:
|
||||||
|
@ -5,7 +5,7 @@ services:
|
|||||||
- "/var/run/docker.sock:/var/run/docker.sock"
|
- "/var/run/docker.sock:/var/run/docker.sock"
|
||||||
ports:
|
ports:
|
||||||
- 8080:8080
|
- 8080:8080
|
||||||
image: functions/gateway:0.6.9-armhf
|
image: functions/gateway:0.7.0-armhf
|
||||||
networks:
|
networks:
|
||||||
- functions
|
- functions
|
||||||
environment:
|
environment:
|
||||||
|
@ -3,7 +3,7 @@ services:
|
|||||||
gateway:
|
gateway:
|
||||||
ports:
|
ports:
|
||||||
- 8080:8080
|
- 8080:8080
|
||||||
image: functions/gateway:0.7.0
|
image: functions/gateway:0.7.1
|
||||||
networks:
|
networks:
|
||||||
- functions
|
- functions
|
||||||
environment:
|
environment:
|
||||||
|
@ -35,7 +35,7 @@ Clone OpenFaaS and then checkout the latest stable release:
|
|||||||
```
|
```
|
||||||
$ git clone https://github.com/openfaas/faas && \
|
$ git clone https://github.com/openfaas/faas && \
|
||||||
cd faas && \
|
cd faas && \
|
||||||
git checkout 0.7.0 && \
|
git checkout 0.7.1 && \
|
||||||
./deploy_stack.sh
|
./deploy_stack.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
FROM alpine:3.6
|
FROM alpine:3.6
|
||||||
|
|
||||||
ADD https://github.com/openfaas/faas/releases/download/0.7.0/fwatchdog /usr/bin
|
ADD https://github.com/openfaas/faas/releases/download/0.7.1/fwatchdog /usr/bin
|
||||||
# COPY ./fwatchdog /usr/bin/
|
# COPY ./fwatchdog /usr/bin/
|
||||||
RUN chmod +x /usr/bin/fwatchdog
|
RUN chmod +x /usr/bin/fwatchdog
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
FROM arm64v8/alpine:3.6
|
FROM arm64v8/alpine:3.6
|
||||||
|
|
||||||
ADD https://github.com/alexellis/faas/releases/download/0.7.0/fwatchdog-arm64 /usr/bin/fwatchdog
|
ADD https://github.com/alexellis/faas/releases/download/0.7.1/fwatchdog-arm64 /usr/bin/fwatchdog
|
||||||
# COPY ./fwatchdog /usr/bin/
|
# COPY ./fwatchdog /usr/bin/
|
||||||
RUN chmod +x /usr/bin/fwatchdog
|
RUN chmod +x /usr/bin/fwatchdog
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
FROM alpine:3.6
|
FROM alpine:3.6
|
||||||
|
|
||||||
ADD https://github.com/openfaas/faas/releases/download/0.7.0/fwatchdog-armhf /usr/bin/fwatchdog
|
ADD https://github.com/openfaas/faas/releases/download/0.7.1/fwatchdog-armhf /usr/bin/fwatchdog
|
||||||
RUN chmod +x /usr/bin/fwatchdog
|
RUN chmod +x /usr/bin/fwatchdog
|
||||||
|
|
||||||
# Populate example here
|
# Populate example here
|
||||||
|
@ -4,7 +4,7 @@ MAINTAINER alex@openfaas.com
|
|||||||
ENTRYPOINT []
|
ENTRYPOINT []
|
||||||
|
|
||||||
RUN apk --no-cache add make curl \
|
RUN apk --no-cache add make curl \
|
||||||
&& curl -sL https://github.com/openfaas/faas/releases/download/0.7.0/fwatchdog > /usr/bin/fwatchdog \
|
&& curl -sL https://github.com/openfaas/faas/releases/download/0.7.1/fwatchdog > /usr/bin/fwatchdog \
|
||||||
&& chmod +x /usr/bin/fwatchdog
|
&& chmod +x /usr/bin/fwatchdog
|
||||||
|
|
||||||
WORKDIR /go/src/github.com/openfaas/faas/sample-functions/ApiKeyProtected
|
WORKDIR /go/src/github.com/openfaas/faas/sample-functions/ApiKeyProtected
|
||||||
|
@ -4,7 +4,7 @@ MAINTAINER alex@openfaas.com
|
|||||||
ENTRYPOINT []
|
ENTRYPOINT []
|
||||||
|
|
||||||
RUN apk --no-cache add make curl \
|
RUN apk --no-cache add make curl \
|
||||||
&& curl -sL https://github.com/openfaas/faas/releases/download/0.7.0/fwatchdog > /usr/bin/fwatchdog \
|
&& curl -sL https://github.com/openfaas/faas/releases/download/0.7.1/fwatchdog > /usr/bin/fwatchdog \
|
||||||
&& chmod +x /usr/bin/fwatchdog
|
&& chmod +x /usr/bin/fwatchdog
|
||||||
|
|
||||||
WORKDIR /go/src/github.com/openfaas/faas/sample-functions/ApiKeyProtected
|
WORKDIR /go/src/github.com/openfaas/faas/sample-functions/ApiKeyProtected
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
FROM toricls/gnucobol:latest
|
FROM toricls/gnucobol:latest
|
||||||
|
|
||||||
ADD https://github.com/openfaas/faas/releases/download/0.7.0/fwatchdog /usr/bin
|
ADD https://github.com/openfaas/faas/releases/download/0.7.1/fwatchdog /usr/bin
|
||||||
RUN chmod +x /usr/bin/fwatchdog
|
RUN chmod +x /usr/bin/fwatchdog
|
||||||
|
|
||||||
WORKDIR /root/
|
WORKDIR /root/
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
FROM node:6.9.1-alpine
|
FROM node:6.9.1-alpine
|
||||||
|
|
||||||
ADD https://github.com/openfaas/faas/releases/download/0.7.0/fwatchdog /usr/bin
|
ADD https://github.com/openfaas/faas/releases/download/0.7.1/fwatchdog /usr/bin
|
||||||
RUN chmod +x /usr/bin/fwatchdog
|
RUN chmod +x /usr/bin/fwatchdog
|
||||||
|
|
||||||
WORKDIR /root/
|
WORKDIR /root/
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
FROM microsoft/dotnet:sdk
|
FROM microsoft/dotnet:sdk
|
||||||
|
|
||||||
ADD https://github.com/openfaas/faas/releases/download/0.7.0/fwatchdog /usr/bin
|
ADD https://github.com/openfaas/faas/releases/download/0.7.1/fwatchdog /usr/bin
|
||||||
RUN chmod +x /usr/bin/fwatchdog
|
RUN chmod +x /usr/bin/fwatchdog
|
||||||
|
|
||||||
ENV DOTNET_CLI_TELEMETRY_OPTOUT 1
|
ENV DOTNET_CLI_TELEMETRY_OPTOUT 1
|
||||||
|
@ -8,7 +8,7 @@ COPY . /go/src/github.com/openfaas/faas/sample-functions/golang
|
|||||||
|
|
||||||
RUN go install
|
RUN go install
|
||||||
|
|
||||||
ADD https://github.com/openfaas/faas/releases/download/0.7.0/fwatchdog /usr/bin
|
ADD https://github.com/openfaas/faas/releases/download/0.7.1/fwatchdog /usr/bin
|
||||||
RUN chmod +x /usr/bin/fwatchdog
|
RUN chmod +x /usr/bin/fwatchdog
|
||||||
|
|
||||||
ENV fprocess "/go/bin/golang"
|
ENV fprocess "/go/bin/golang"
|
||||||
|
@ -6,7 +6,7 @@ WORKDIR /go/src/github.com/openfaas/faas/sample-functions/golang
|
|||||||
COPY . /go/src/github.com/openfaas/faas/sample-functions/golang
|
COPY . /go/src/github.com/openfaas/faas/sample-functions/golang
|
||||||
RUN go build
|
RUN go build
|
||||||
|
|
||||||
ADD https://github.com/openfaas/faas/releases/download/0.7.0/fwatchdog.exe /watchdog.exe
|
ADD https://github.com/openfaas/faas/releases/download/0.7.1/fwatchdog.exe /watchdog.exe
|
||||||
|
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
ENV fprocess="golang.exe"
|
ENV fprocess="golang.exe"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
FROM openjdk:8u121-jdk-alpine
|
FROM openjdk:8u121-jdk-alpine
|
||||||
|
|
||||||
ADD https://github.com/openfaas/faas/releases/download/0.7.0/fwatchdog /usr/bin
|
ADD https://github.com/openfaas/faas/releases/download/0.7.1/fwatchdog /usr/bin
|
||||||
RUN chmod +x /usr/bin/fwatchdog
|
RUN chmod +x /usr/bin/fwatchdog
|
||||||
|
|
||||||
WORKDIR /root/
|
WORKDIR /root/
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
FROM node:6.9.1-alpine
|
FROM node:6.9.1-alpine
|
||||||
|
|
||||||
ADD https://github.com/openfaas/faas/releases/download/0.7.0/fwatchdog /usr/bin
|
ADD https://github.com/openfaas/faas/releases/download/0.7.1/fwatchdog /usr/bin
|
||||||
RUN chmod +x /usr/bin/fwatchdog
|
RUN chmod +x /usr/bin/fwatchdog
|
||||||
|
|
||||||
WORKDIR /root/
|
WORKDIR /root/
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
FROM python:2.7-alpine
|
FROM python:2.7-alpine
|
||||||
|
|
||||||
ADD https://github.com/openfaas/faas/releases/download/0.7.0/fwatchdog /usr/bin
|
ADD https://github.com/openfaas/faas/releases/download/0.7.1/fwatchdog /usr/bin
|
||||||
RUN chmod +x /usr/bin/fwatchdog
|
RUN chmod +x /usr/bin/fwatchdog
|
||||||
|
|
||||||
WORKDIR /root/
|
WORKDIR /root/
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
FROM alpine:3.6
|
FROM alpine:3.6
|
||||||
RUN apk --update add nodejs nodejs-npm
|
RUN apk --update add nodejs nodejs-npm
|
||||||
|
|
||||||
ADD https://github.com/openfaas/faas/releases/download/0.7.0/fwatchdog /usr/bin
|
ADD https://github.com/openfaas/faas/releases/download/0.7.1/fwatchdog /usr/bin
|
||||||
RUN chmod +x /usr/bin/fwatchdog
|
RUN chmod +x /usr/bin/fwatchdog
|
||||||
|
|
||||||
COPY package.json .
|
COPY package.json .
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
FROM alpine:3.6
|
FROM alpine:3.6
|
||||||
RUN apk --update add nodejs nodejs-npm
|
RUN apk --update add nodejs nodejs-npm
|
||||||
|
|
||||||
ADD https://github.com/openfaas/faas/releases/download/0.7.0/fwatchdog /usr/bin
|
ADD https://github.com/openfaas/faas/releases/download/0.7.1/fwatchdog /usr/bin
|
||||||
#COPY ./fwatchdog /usr/bin/
|
#COPY ./fwatchdog /usr/bin/
|
||||||
RUN chmod +x /usr/bin/fwatchdog
|
RUN chmod +x /usr/bin/fwatchdog
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@ MAINTAINER alex@openfaas.com
|
|||||||
ENTRYPOINT []
|
ENTRYPOINT []
|
||||||
|
|
||||||
RUN apk --no-cache add make curl \
|
RUN apk --no-cache add make curl \
|
||||||
&& curl -sL https://github.com/openfaas/faas/releases/download/0.7.0/fwatchdog > /usr/bin/fwatchdog \
|
&& curl -sL https://github.com/openfaas/faas/releases/download/0.7.1/fwatchdog > /usr/bin/fwatchdog \
|
||||||
&& chmod +x /usr/bin/fwatchdog
|
&& chmod +x /usr/bin/fwatchdog
|
||||||
|
|
||||||
WORKDIR /go/src/github.com/openfaas/faas/sample-functions/DockerHubStats
|
WORKDIR /go/src/github.com/openfaas/faas/sample-functions/DockerHubStats
|
||||||
|
@ -4,7 +4,7 @@ MAINTAINER alex@openfaas.com
|
|||||||
ENTRYPOINT []
|
ENTRYPOINT []
|
||||||
|
|
||||||
RUN apk --no-cache add make curl \
|
RUN apk --no-cache add make curl \
|
||||||
&& curl -sL https://github.com/openfaas/faas/releases/download/0.7.0/fwatchdog-armhf > /usr/bin/fwatchdog \
|
&& curl -sL https://github.com/openfaas/faas/releases/download/0.7.1/fwatchdog-armhf > /usr/bin/fwatchdog \
|
||||||
&& chmod +x /usr/bin/fwatchdog
|
&& chmod +x /usr/bin/fwatchdog
|
||||||
|
|
||||||
WORKDIR /go/src/github.com/openfaas/faas/sample-functions/DockerHubStats
|
WORKDIR /go/src/github.com/openfaas/faas/sample-functions/DockerHubStats
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
FROM alpine:3.6
|
FROM alpine:3.6
|
||||||
RUN apk --update add nodejs nodejs-npm
|
RUN apk --update add nodejs nodejs-npm
|
||||||
|
|
||||||
ADD https://github.com/openfaas/faas/releases/download/0.7.0/fwatchdog /usr/bin
|
ADD https://github.com/openfaas/faas/releases/download/0.7.1/fwatchdog /usr/bin
|
||||||
RUN chmod +x /usr/bin/fwatchdog
|
RUN chmod +x /usr/bin/fwatchdog
|
||||||
|
|
||||||
COPY package.json .
|
COPY package.json .
|
||||||
|
@ -4,7 +4,7 @@ MAINTAINER alex@openfaas.com
|
|||||||
ENTRYPOINT []
|
ENTRYPOINT []
|
||||||
|
|
||||||
RUN apk --no-cache add make curl \
|
RUN apk --no-cache add make curl \
|
||||||
&& curl -sL https://github.com/openfaas/faas/releases/download/0.7.0/fwatchdog > /usr/bin/fwatchdog \
|
&& curl -sL https://github.com/openfaas/faas/releases/download/0.7.1/fwatchdog > /usr/bin/fwatchdog \
|
||||||
&& chmod +x /usr/bin/fwatchdog
|
&& chmod +x /usr/bin/fwatchdog
|
||||||
|
|
||||||
WORKDIR /go/src/github.com/openfaas/faas/sample-functions/MarkdownRender
|
WORKDIR /go/src/github.com/openfaas/faas/sample-functions/MarkdownRender
|
||||||
|
@ -2,7 +2,7 @@ FROM arm64v8/alpine:3.6
|
|||||||
|
|
||||||
RUN apk --update add nodejs nodejs-npm
|
RUN apk --update add nodejs nodejs-npm
|
||||||
|
|
||||||
ADD https://github.com/openfaas/faas/releases/download/0.7.0/fwatchdog-arm64 /usr/bin/fwatchdog
|
ADD https://github.com/openfaas/faas/releases/download/0.7.1/fwatchdog-arm64 /usr/bin/fwatchdog
|
||||||
RUN chmod +x /usr/bin/fwatchdog
|
RUN chmod +x /usr/bin/fwatchdog
|
||||||
|
|
||||||
COPY package.json .
|
COPY package.json .
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
FROM alexellis2/phantomjs-docker:latest
|
FROM alexellis2/phantomjs-docker:latest
|
||||||
|
|
||||||
ADD https://github.com/openfaas/faas/releases/download/0.7.0/fwatchdog /usr/bin
|
ADD https://github.com/openfaas/faas/releases/download/0.7.1/fwatchdog /usr/bin
|
||||||
RUN chmod +x /usr/bin/fwatchdog
|
RUN chmod +x /usr/bin/fwatchdog
|
||||||
|
|
||||||
ENV fprocess="phantomjs /dev/stdin"
|
ENV fprocess="phantomjs /dev/stdin"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
FROM v4tech/imagemagick
|
FROM v4tech/imagemagick
|
||||||
|
|
||||||
ADD https://github.com/openfaas/faas/releases/download/0.7.0/fwatchdog /usr/bin
|
ADD https://github.com/openfaas/faas/releases/download/0.7.1/fwatchdog /usr/bin
|
||||||
RUN chmod +x /usr/bin/fwatchdog
|
RUN chmod +x /usr/bin/fwatchdog
|
||||||
|
|
||||||
ENV fprocess "convert - -resize 50% fd:1"
|
ENV fprocess "convert - -resize 50% fd:1"
|
||||||
|
@ -3,7 +3,7 @@ FROM python:2.7-alpine
|
|||||||
RUN pip install textblob && \
|
RUN pip install textblob && \
|
||||||
python -m textblob.download_corpora
|
python -m textblob.download_corpora
|
||||||
|
|
||||||
ADD https://github.com/openfaas/faas/releases/download/0.7.0/fwatchdog /usr/bin
|
ADD https://github.com/openfaas/faas/releases/download/0.7.1/fwatchdog /usr/bin
|
||||||
RUN chmod +x /usr/bin/fwatchdog
|
RUN chmod +x /usr/bin/fwatchdog
|
||||||
|
|
||||||
WORKDIR /root/
|
WORKDIR /root/
|
||||||
|
@ -4,7 +4,7 @@ MAINTAINER alex@openfaas.com
|
|||||||
ENTRYPOINT []
|
ENTRYPOINT []
|
||||||
|
|
||||||
RUN apk --no-cache add make curl \
|
RUN apk --no-cache add make curl \
|
||||||
&& curl -sL https://github.com/openfaas/faas/releases/download/0.7.0/fwatchdog > /usr/bin/fwatchdog \
|
&& curl -sL https://github.com/openfaas/faas/releases/download/0.7.1/fwatchdog > /usr/bin/fwatchdog \
|
||||||
&& chmod +x /usr/bin/fwatchdog
|
&& chmod +x /usr/bin/fwatchdog
|
||||||
|
|
||||||
WORKDIR /go/src/github.com/openfaas/faas/sample-functions/WebhookStash
|
WORKDIR /go/src/github.com/openfaas/faas/sample-functions/WebhookStash
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
FROM alpine:3.6
|
FROM alpine:3.6
|
||||||
|
|
||||||
RUN apk --no-cache add ffmpeg gifsicle curl \
|
RUN apk --no-cache add ffmpeg gifsicle curl \
|
||||||
&& curl -LS https://github.com/openfaas/faas/releases/download/0.7.0/fwatchdog > /usr/bin/fwatchdog \
|
&& curl -LS https://github.com/openfaas/faas/releases/download/0.7.1/fwatchdog > /usr/bin/fwatchdog \
|
||||||
&& chmod +x /usr/bin/fwatchdog \
|
&& chmod +x /usr/bin/fwatchdog \
|
||||||
&& apk del curl
|
&& apk del curl
|
||||||
WORKDIR /root/
|
WORKDIR /root/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user