mirror of
https://github.com/openfaas/faas.git
synced 2025-06-18 12:06:37 +00:00
8
sample-functions/Nmap/Dockerfile
Normal file
8
sample-functions/Nmap/Dockerfile
Normal file
@ -0,0 +1,8 @@
|
||||
FROM functions/alpine:latest
|
||||
|
||||
RUN apk add --no-cache nmap
|
||||
|
||||
ENV fprocess="xargs nmap"
|
||||
|
||||
|
||||
CMD ["fwatchdog"]
|
@ -83,3 +83,8 @@ functions:
|
||||
handler: ./WordCountFunction
|
||||
image: functions/wordcount:latest
|
||||
|
||||
nmap:
|
||||
lang: Dockerfile
|
||||
handler: ./Nmap
|
||||
image: functions/nmap:0.1
|
||||
|
||||
|
Reference in New Issue
Block a user