From 929dfb172a4336bcc86c9a490065548fff4cce6c Mon Sep 17 00:00:00 2001 From: "scott.eppler" Date: Tue, 8 Oct 2019 12:07:54 -0500 Subject: [PATCH] Update nmap sample-function to use new approach I used AlpineFunction as the example to follow as suggested by @alexellis Signed-off-by: scott.eppler --- sample-functions/Nmap/Dockerfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/sample-functions/Nmap/Dockerfile b/sample-functions/Nmap/Dockerfile index e0eb4570..013a17d7 100644 --- a/sample-functions/Nmap/Dockerfile +++ b/sample-functions/Nmap/Dockerfile @@ -1,4 +1,9 @@ -FROM functions/alpine:latest +FROM openfaas/classic-watchdog:0.14.4 as watchdog + +FROM alpine:3.10 + +COPY --from=watchdog /fwatchdog /usr/bin/fwatchdog +RUN chmod +x /usr/bin/fwatchdog RUN apk add --no-cache nmap