Skip to content

Commit ea87642

Browse files
committed
Bump watchdog to 0.2.7
Signed-off-by: Alex Ellis (VMware) <[email protected]>
1 parent 29ff8a7 commit ea87642

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

Diff for: template/python27-flask/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ FROM python:2.7-alpine
33
# Alternatively use ADD https:// (which will not be cached by Docker builder)
44
RUN apk --no-cache add curl \
55
&& echo "Pulling watchdog binary from Github." \
6-
&& curl -sSLf https://github.com/openfaas-incubator/of-watchdog/releases/download/0.2.3/of-watchdog > /usr/bin/fwatchdog \
6+
&& curl -sSLf https://github.com/openfaas-incubator/of-watchdog/releases/download/0.2.7/of-watchdog > /usr/bin/fwatchdog \
77
&& chmod +x /usr/bin/fwatchdog \
88
&& apk del curl --no-cache
99

@@ -28,6 +28,6 @@ ENV mode="http"
2828
ENV upstream_url="http://127.0.0.1:5000"
2929

3030

31-
HEALTHCHECK --interval=1s CMD [ -e /tmp/.lock ] || exit 1
31+
HEALTHCHECK --interval=5s CMD [ -e /tmp/.lock ] || exit 1
3232

3333
CMD ["fwatchdog"]

Diff for: template/python3-flask-armhf/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ FROM armhf/python:3.6-alpine
33
# Alternatively use ADD https:// (which will not be cached by Docker builder)
44
RUN apk --no-cache add curl \
55
&& echo "Pulling watchdog binary from Github." \
6-
&& curl -sSLf https://github.com/openfaas-incubator/of-watchdog/releases/download/0.2.4/of-watchdog-armhf > /usr/bin/fwatchdog \
6+
&& curl -sSLf https://github.com/openfaas-incubator/of-watchdog/releases/download/0.2.7/of-watchdog-armhf > /usr/bin/fwatchdog \
77
&& chmod +x /usr/bin/fwatchdog \
88
&& apk del curl --no-cache
99

@@ -31,6 +31,6 @@ ENV mode="http"
3131
ENV upstream_url="http://127.0.0.1:5000"
3232

3333

34-
HEALTHCHECK --interval=1s CMD [ -e /tmp/.lock ] || exit 1
34+
HEALTHCHECK --interval=5s CMD [ -e /tmp/.lock ] || exit 1
3535

3636
CMD ["fwatchdog"]

Diff for: template/python3-flask/Dockerfile

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
FROM python:3.6-alpine
1+
FROM python:3.7-alpine
22

33
# Alternatively use ADD https:// (which will not be cached by Docker builder)
44
RUN apk --no-cache add curl \
55
&& echo "Pulling watchdog binary from Github." \
6-
&& curl -sSLf https://github.com/openfaas-incubator/of-watchdog/releases/download/0.2.3/of-watchdog > /usr/bin/fwatchdog \
6+
&& curl -sSLf https://github.com/openfaas-incubator/of-watchdog/releases/download/0.2.7/of-watchdog > /usr/bin/fwatchdog \
77
&& chmod +x /usr/bin/fwatchdog \
88
&& apk del curl --no-cache
99

@@ -30,7 +30,6 @@ ENV cgi_headers="true"
3030
ENV mode="http"
3131
ENV upstream_url="http://127.0.0.1:5000"
3232

33-
34-
HEALTHCHECK --interval=1s CMD [ -e /tmp/.lock ] || exit 1
33+
HEALTHCHECK --interval=5s CMD [ -e /tmp/.lock ] || exit 1
3534

3635
CMD ["fwatchdog"]

0 commit comments

Comments
 (0)