File tree 3 files changed +7
-8
lines changed
3 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ FROM python:2.7-alpine
3
3
# Alternatively use ADD https:// (which will not be cached by Docker builder)
4
4
RUN apk --no-cache add curl \
5
5
&& 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 \
7
7
&& chmod +x /usr/bin/fwatchdog \
8
8
&& apk del curl --no-cache
9
9
@@ -28,6 +28,6 @@ ENV mode="http"
28
28
ENV upstream_url="http://127.0.0.1:5000"
29
29
30
30
31
- HEALTHCHECK --interval=1s CMD [ -e /tmp/.lock ] || exit 1
31
+ HEALTHCHECK --interval=5s CMD [ -e /tmp/.lock ] || exit 1
32
32
33
33
CMD ["fwatchdog" ]
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ FROM armhf/python:3.6-alpine
3
3
# Alternatively use ADD https:// (which will not be cached by Docker builder)
4
4
RUN apk --no-cache add curl \
5
5
&& 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 \
7
7
&& chmod +x /usr/bin/fwatchdog \
8
8
&& apk del curl --no-cache
9
9
@@ -31,6 +31,6 @@ ENV mode="http"
31
31
ENV upstream_url="http://127.0.0.1:5000"
32
32
33
33
34
- HEALTHCHECK --interval=1s CMD [ -e /tmp/.lock ] || exit 1
34
+ HEALTHCHECK --interval=5s CMD [ -e /tmp/.lock ] || exit 1
35
35
36
36
CMD ["fwatchdog" ]
Original file line number Diff line number Diff line change 1
- FROM python:3.6 -alpine
1
+ FROM python:3.7 -alpine
2
2
3
3
# Alternatively use ADD https:// (which will not be cached by Docker builder)
4
4
RUN apk --no-cache add curl \
5
5
&& 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 \
7
7
&& chmod +x /usr/bin/fwatchdog \
8
8
&& apk del curl --no-cache
9
9
@@ -30,7 +30,6 @@ ENV cgi_headers="true"
30
30
ENV mode="http"
31
31
ENV upstream_url="http://127.0.0.1:5000"
32
32
33
-
34
- HEALTHCHECK --interval=1s CMD [ -e /tmp/.lock ] || exit 1
33
+ HEALTHCHECK --interval=5s CMD [ -e /tmp/.lock ] || exit 1
35
34
36
35
CMD ["fwatchdog" ]
You can’t perform that action at this time.
0 commit comments