mirror of
https://github.com/openfaas/faas.git
synced 2025-06-08 16:26:47 +00:00
Update nmap sample-function to run as non-root user
Signed-off-by: scott.eppler <scott.eppler@coda.global>
This commit is contained in:
parent
929dfb172a
commit
932d4449cb
@ -9,5 +9,7 @@ RUN apk add --no-cache nmap
|
||||
|
||||
ENV fprocess="xargs nmap"
|
||||
|
||||
RUN addgroup -g 1000 -S app && adduser -u 1000 -S app -G app
|
||||
USER 1000
|
||||
|
||||
CMD ["fwatchdog"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user