diff options
author | Soulou <leo@unbekandt.eu> | 2015-04-30 16:31:07 +0200 |
---|---|---|
committer | Soulou <leo@unbekandt.eu> | 2015-04-30 16:31:07 +0200 |
commit | e3504cee99dab2331df59f6463e5be5ac222dedd (patch) | |
tree | 65b6681743022105241cc423eb035f96f826edc0 /Dockerfile | |
download | munin-e3504cee99dab2331df59f6463e5be5ac222dedd.tar.gz munin-e3504cee99dab2331df59f6463e5be5ac222dedd.tar.bz2 munin-e3504cee99dab2331df59f6463e5be5ac222dedd.tar.xz munin-e3504cee99dab2331df59f6463e5be5ac222dedd.zip |
Initial version
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..ff21e0b --- /dev/null +++ b/Dockerfile @@ -0,0 +1,19 @@ +FROM ubuntu:14.04 + +MAINTAINER Leo Unbekandt <leo.unbekandt@appsdeck.eu> + +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 +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-munin /etc/nginx/sites-enabled/munin +ADD ./start-munin.sh /munin +EXPOSE 80 +CMD bash /munin + |