From f09225a7767c9d0b993370b25175b1fd5c9d42f5 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Sat, 6 Aug 2022 20:30:27 +0200 Subject: [PATCH] DL3059 --- Dockerfile | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index a1529c2..51b5b85 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,14 +21,14 @@ RUN apt-get update && \ apt-get clean && \ rm -rf /var/lib/apt/lists/* /var/tmp/* /tmp/* -RUN (cp /etc/munin/apache24.conf /etc/apache2/sites-available/000-default.conf) -RUN (sed -i 's/^Alias.*/Alias \/ \/var\/cache\/munin\/www\//g' /etc/apache2/sites-available/000-default.conf) -RUN (sed -i 's/Allow from .*/Satisfy Any/g' /etc/apache2/sites-available/000-default.conf) -RUN (sed -i 's/Order allow,deny.*/Allow from all/g' /etc/apache2/sites-available/000-default.conf) -RUN (mkdir -p /var/run/munin && chown -R munin:munin /var/run/munin) - -RUN (chfn -f 'munin' root) -RUN (/usr/sbin/a2enmod fcgid) +RUN (cp /etc/munin/apache24.conf /etc/apache2/sites-available/000-default.conf) && \ + (sed -i 's/^Alias.*/Alias \/ \/var\/cache\/munin\/www\//g' /etc/apache2/sites-available/000-default.conf) && \ + (sed -i 's/Allow from .*/Satisfy Any/g' /etc/apache2/sites-available/000-default.conf) && \ + (sed -i 's/Order allow,deny.*/Allow from all/g' /etc/apache2/sites-available/000-default.conf) && \ + (mkdir -p /var/run/munin && \ + chown -R munin:munin /var/run/munin) && \ + (chfn -f 'munin' root) && \ + (/usr/sbin/a2enmod fcgid) COPY 000-default.conf /etc/apache2/sites-available/000-default.conf COPY logrotate-munin /etc/logrotate.d/munin