Skip to content

Commit c671be5

Browse files
committed
Bump version for watchdog
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
1 parent 07e9e35 commit c671be5

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

template/powershell-http/Dockerfile

+5-7
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
1-
FROM microsoft/powershell:ubuntu-xenial
1+
FROM openfaas/classic-watchdog:0.18.0 as watchdog
22

3-
RUN apt-get update \
4-
&& apt-get install -y curl \
5-
&& curl -sSLf https://github.com/openfaas-incubator/of-watchdog/releases/download/0.4.5/of-watchdog > /usr/bin/fwatchdog \
6-
&& chmod +x /usr/bin/fwatchdog \
7-
&& apt-get clean \
8-
&& rm -rf /var/lib/apt/lists/*
3+
FROM microsoft/powershell:ubuntu-xenial as ship
4+
5+
COPY --from=watchdog /fwatchdog /usr/bin/fwatchdog
6+
RUN chmod +x /usr/bin/fwatchdog
97

108
COPY server.ps1 server.ps1
119

0 commit comments

Comments
 (0)