We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 07e9e35 commit c671be5Copy full SHA for c671be5
template/powershell-http/Dockerfile
@@ -1,11 +1,9 @@
1
-FROM microsoft/powershell:ubuntu-xenial
+FROM openfaas/classic-watchdog:0.18.0 as watchdog
2
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/*
+FROM microsoft/powershell:ubuntu-xenial as ship
+
+COPY --from=watchdog /fwatchdog /usr/bin/fwatchdog
+RUN chmod +x /usr/bin/fwatchdog
9
10
COPY server.ps1 server.ps1
11
0 commit comments