From b1c2c3f6168ab3c5b2087ce1307bc8c8442cfbf4 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Sun, 16 Apr 2023 15:12:10 +0200 Subject: [PATCH] run --- Dockerfile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index e38bc75..6c17481 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,6 +22,7 @@ RUN apt-get update && \ && apt-get clean && \ rm -rf /var/lib/apt/lists/* /var/tmp/* /tmp/* +COPY run.sh /usr/local/bin/run COPY munin_stats /etc/munin/plugins/munin_stats COPY munin_update /etc/munin/plugins/munin_update @@ -35,7 +36,8 @@ RUN (cp /etc/munin/apache24.conf /etc/apache2/sites-available/000-default.conf) (/usr/sbin/a2enmod fcgid) && \ rm -rf /etc/munin/plugins && \ chmod +x /etc/munin/plugins/munin_stats && \ - chmod +x /etc/munin/plugins/munin_update + chmod +x /etc/munin/plugins/munin_update && \ + chmod +x /usr/local/bin/run COPY 000-default.conf /etc/apache2/sites-available/000-default.conf COPY logrotate-munin /etc/logrotate.d/munin @@ -44,10 +46,6 @@ COPY ssmtp.conf /etc/ssmtp/ssmtp.conf COPY revaliases /etc/ssmtp/revaliases COPY munin_mail.conf /etc/munin/munin-conf.d/munin_mail.conf -# copy launcher -COPY run.sh /usr/local/bin/run -RUN chmod +x /usr/local/bin/run - # persist VOLUME /var/lib/munin VOLUME /var/log/munin