mirror of
https://github.com/openfaas/faas.git
synced 2025-06-08 16:26:47 +00:00
Version alpine:3.13 is now available Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
16 lines
299 B
Docker
16 lines
299 B
Docker
FROM openfaas/classic-watchdog:0.18.8 as watchdog
|
|
|
|
FROM alpine:3.13
|
|
|
|
COPY --from=watchdog /fwatchdog /usr/bin/fwatchdog
|
|
RUN chmod +x /usr/bin/fwatchdog
|
|
|
|
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"]
|