DL3059
This commit is contained in:
parent
a0734299f3
commit
f09225a776
1 changed files with 8 additions and 8 deletions
16
Dockerfile
16
Dockerfile
|
@ -21,14 +21,14 @@ RUN apt-get update && \
|
|||
apt-get clean && \
|
||||
rm -rf /var/lib/apt/lists/* /var/tmp/* /tmp/*
|
||||
|
||||
RUN (cp /etc/munin/apache24.conf /etc/apache2/sites-available/000-default.conf)
|
||||
RUN (sed -i 's/^Alias.*/Alias \/ \/var\/cache\/munin\/www\//g' /etc/apache2/sites-available/000-default.conf)
|
||||
RUN (sed -i 's/Allow from .*/Satisfy Any/g' /etc/apache2/sites-available/000-default.conf)
|
||||
RUN (sed -i 's/Order allow,deny.*/Allow from all/g' /etc/apache2/sites-available/000-default.conf)
|
||||
RUN (mkdir -p /var/run/munin && chown -R munin:munin /var/run/munin)
|
||||
|
||||
RUN (chfn -f 'munin' root)
|
||||
RUN (/usr/sbin/a2enmod fcgid)
|
||||
RUN (cp /etc/munin/apache24.conf /etc/apache2/sites-available/000-default.conf) && \
|
||||
(sed -i 's/^Alias.*/Alias \/ \/var\/cache\/munin\/www\//g' /etc/apache2/sites-available/000-default.conf) && \
|
||||
(sed -i 's/Allow from .*/Satisfy Any/g' /etc/apache2/sites-available/000-default.conf) && \
|
||||
(sed -i 's/Order allow,deny.*/Allow from all/g' /etc/apache2/sites-available/000-default.conf) && \
|
||||
(mkdir -p /var/run/munin && \
|
||||
chown -R munin:munin /var/run/munin) && \
|
||||
(chfn -f 'munin' root) && \
|
||||
(/usr/sbin/a2enmod fcgid)
|
||||
|
||||
COPY 000-default.conf /etc/apache2/sites-available/000-default.conf
|
||||
COPY logrotate-munin /etc/logrotate.d/munin
|
||||
|
|
Reference in a new issue