From 91e81a2a02d25d2e0ba616d53b7cd4a128e4b553 Mon Sep 17 00:00:00 2001 From: Soulou Date: Mon, 14 Dec 2015 00:06:38 +0100 Subject: Add patches to modify log to warning level --- Dockerfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index 22de797..34073bf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ MAINTAINER Leo Unbekandt RUN adduser --system --home /var/lib/munin --shell /bin/false --uid 1103 --group munin RUN apt-get update -qq && RUNLEVEL=1 DEBIAN_FRONTEND=noninteractive \ - apt-get install -y -qq cron munin munin-node nginx apache2-utils wget heirloom-mailx + apt-get install -y -qq cron munin munin-node nginx apache2-utils wget heirloom-mailx patch RUN rm /etc/nginx/sites-enabled/default && mkdir -p /var/cache/munin/www && chown munin:munin /var/cache/munin/www && mkdir -p /var/run/munin && chown -R munin:munin /var/run/munin VOLUME /var/lib/munin @@ -14,6 +14,10 @@ VOLUME /var/log/munin ADD ./munin.conf /etc/munin/munin.conf ADD ./nginx-munin /etc/nginx/sites-enabled/munin ADD ./start-munin.sh /munin +ADD ./munin-graph-logging.patch /usr/share/munin +ADD ./munin-update-logging.patch /usr/share/munin + +RUN cd /usr/share/munin && patch munin-graph < munin-graph-logging.patch && patch munin-update < munin-update-logging.patch EXPOSE 8080 CMD bash /munin -- cgit v1.2.3