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 \
|
2024-02-14 08:52:30 +00:00
|
|
|
lighttpd \
|
2022-02-08 11:17:13 +00:00
|
|
|
nagios \
|
|
|
|
nagios-web \
|
|
|
|
&& \
|
2024-02-14 08:52:30 +00:00
|
|
|
addgroup lighttpd nagios
|
2022-02-08 11:17:13 +00:00
|
|
|
|
2024-02-14 08:52:30 +00:00
|
|
|
COPY lighttpd.conf /etc/lighttpd/lighttpd.conf
|
|
|
|
|
|
|
|
EXPOSE 80
|
|
|
|
USER lighttpd
|
|
|
|
CMD ["/usr/sbin/lighttpd", "-f", "/etc/lighttpd/lighttpd.conf", "-D"]
|