docker-nagios/Dockerfile.fcgi

16 lines
356 B
Docker
Raw Permalink Normal View History

2022-02-20 09:01:27 +00:00
FROM alpine:3.12
2022-02-08 11:17:13 +00:00
2022-02-20 09:01:27 +00:00
RUN adduser -S -s /sbin/nologin -h /var/www/localhost/htdocs -u 80 www-data && \
2022-02-08 11:17:13 +00:00
apk add --no-cache \
lighttpd \
2022-02-08 11:17:13 +00:00
nagios \
nagios-web \
&& \
addgroup lighttpd nagios
2022-02-08 11:17:13 +00:00
COPY lighttpd.conf /etc/lighttpd/lighttpd.conf
EXPOSE 80
USER lighttpd
CMD ["/usr/sbin/lighttpd", "-f", "/etc/lighttpd/lighttpd.conf", "-D"]