mirror of
https://github.com/linuxserver/docker-smokeping.git
synced 2026-04-13 00:04:22 +08:00
Moveed cleanup to last
This commit is contained in:
parent
33f78fc58f
commit
605d51a9bb
@ -9,7 +9,6 @@ ENV TERM screen
|
||||
#Applying stuff
|
||||
RUN apt-get update
|
||||
RUN apt-get install -y apache2 smokeping
|
||||
RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||
|
||||
#Link config
|
||||
RUN ln -s /etc/smokeping/apache2.conf /etc/apache2/conf-available/apache2.conf
|
||||
@ -18,6 +17,8 @@ RUN ln -s /etc/smokeping/apache2.conf /etc/apache2/conf-available/apache2.conf
|
||||
RUN a2enconf apache2
|
||||
RUN a2enmod cgid
|
||||
|
||||
#Last line of normal hassle
|
||||
RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||
#Adding Custom files
|
||||
ADD config.d/ /etc/smokeping/config.d/
|
||||
ADD init/ /etc/my_init.d/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user