From 5b532bc9c7880ae212e58c2f27947c3e047155e4 Mon Sep 17 00:00:00 2001 From: Kevin Alberts Date: Sun, 16 Mar 2025 11:52:00 +0100 Subject: [PATCH] Switch to nginx base --- Dockerfile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5e2e6eb..5dbee75 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,11 @@ -FROM debian:12 +FROM nginxinc/nginx-unprivileged:stable-bookworm LABEL org.opencontainers.image.authors="me@kurocon.nl" LABEL org.opencontainers.image.source="https://git.kurocon.nl/KuroNET/munin-docker" LABEL org.opencontainers.image.description="Munin image with Docker binaries" RUN apt-get update -qq && RUNLEVEL=1 DEBIAN_FRONTEND=noninteractive \ - apt-get install -y -qq cron munin nginx wget libcgi-fast-perl curl && \ + apt-get install -y -qq munin wget curl && \ mkdir -p /var/run/munin && chown -R munin:munin /var/run/munin && \ echo "includedir /etc/munin/munin-conf.d" > /etc/munin/munin.conf @@ -15,6 +15,4 @@ VOLUME /var/run/munin VOLUME /var/cache/munin VOLUME /etc/munin/munin.conf.d -EXPOSE 80 - -CMD ["/usr/sbin/munin-node"] +CMD ["nginx" "-g" "daemon off;"]