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 <scott.eppler@coda.global>
This commit is contained in:
scott.eppler 2019-10-08 12:07:54 -05:00 committed by Alex Ellis
parent 787c8f7a16
commit 929dfb172a

View File

@ -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