docker-nagios/Dockerfile.fcgi
Pierre-Olivier Mercier d4233ca4f7
Some checks failed
continuous-integration/drone/push Build is failing
Add -f to transmit stderr over fastcgi
2022-02-22 22:34:56 +01:00

14 lines
298 B
Perl

FROM alpine:3.12
RUN adduser -S -s /sbin/nologin -h /var/www/localhost/htdocs -u 80 www-data && \
apk add --no-cache \
fcgiwrap \
nagios \
nagios-web \
&& \
addgroup www-data nagios
EXPOSE 8080
USER www-data
CMD ["/usr/bin/fcgiwrap", "-s", "tcp:0.0.0.0:8080", "-f"]