run
This commit is contained in:
parent
9827a69090
commit
b1c2c3f616
1 changed files with 3 additions and 5 deletions
|
@ -22,6 +22,7 @@ RUN apt-get update && \
|
||||||
&& apt-get clean && \
|
&& apt-get clean && \
|
||||||
rm -rf /var/lib/apt/lists/* /var/tmp/* /tmp/*
|
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_stats /etc/munin/plugins/munin_stats
|
||||||
COPY munin_update /etc/munin/plugins/munin_update
|
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) && \
|
(/usr/sbin/a2enmod fcgid) && \
|
||||||
rm -rf /etc/munin/plugins && \
|
rm -rf /etc/munin/plugins && \
|
||||||
chmod +x /etc/munin/plugins/munin_stats && \
|
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 000-default.conf /etc/apache2/sites-available/000-default.conf
|
||||||
COPY logrotate-munin /etc/logrotate.d/munin
|
COPY logrotate-munin /etc/logrotate.d/munin
|
||||||
|
@ -44,10 +46,6 @@ COPY ssmtp.conf /etc/ssmtp/ssmtp.conf
|
||||||
COPY revaliases /etc/ssmtp/revaliases
|
COPY revaliases /etc/ssmtp/revaliases
|
||||||
COPY munin_mail.conf /etc/munin/munin-conf.d/munin_mail.conf
|
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
|
# persist
|
||||||
VOLUME /var/lib/munin
|
VOLUME /var/lib/munin
|
||||||
VOLUME /var/log/munin
|
VOLUME /var/log/munin
|
||||||
|
|
Reference in a new issue