mirror of
https://github.com/openfaas/faas.git
synced 2025-06-08 16:26:47 +00:00
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:
parent
787c8f7a16
commit
929dfb172a
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user