summaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorSoulou <leo.unbek@gmail.com>2016-11-02 00:11:51 +0100
committerGitHub <noreply@github.com>2016-11-02 00:11:51 +0100
commit73d0b3879b90fb48a9177a03382cfd132ab5c431 (patch)
treee786e6d4a761f598eec5e4753c70fdb258f04b10 /Dockerfile
parent6580e4949d3f3cf3f1972df9a7ce284dddae96b4 (diff)
parentaa2d22c92a523efd26cd575320ab90df5c94e744 (diff)
downloadmunin-73d0b3879b90fb48a9177a03382cfd132ab5c431.tar.gz
munin-73d0b3879b90fb48a9177a03382cfd132ab5c431.tar.bz2
munin-73d0b3879b90fb48a9177a03382cfd132ab5c431.tar.xz
munin-73d0b3879b90fb48a9177a03382cfd132ab5c431.zip
Merge pull request #7 from Scalingo/support_cgi
Support CGI graphs
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index 738b909..498e213 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -5,13 +5,14 @@ MAINTAINER Leo Unbekandt <leo@scalingo.com>
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 patch
+ apt-get install -y -qq cron munin munin-node nginx apache2-utils wget heirloom-mailx patch spawn-fcgi libcgi-fast-perl
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
VOLUME /var/log/munin
ADD ./munin.conf /etc/munin/munin.conf
+AdD ./nginx.conf /etc/nginx/nginx.conf
ADD ./nginx-munin /etc/nginx/sites-enabled/munin
ADD ./start-munin.sh /munin
ADD ./munin-graph-logging.patch /usr/share/munin