Add cgi scripts
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
nemunaire 2022-02-08 12:17:13 +01:00
commit e05d3ebe59
3 changed files with 102 additions and 11 deletions

13
Dockerfile.fcgi Normal file
View file

@ -0,0 +1,13 @@
FROM alpine
RUN adduser -S -s /sbin/nologin -h /var/www/localhost/htdocs -u 80 -G www-data 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"]