From 605d51a9bb947cbc4bbc8dbd518da53fbb06780e Mon Sep 17 00:00:00 2001 From: lonix Date: Wed, 17 Jun 2015 14:44:21 +0200 Subject: [PATCH] Moveed cleanup to last --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 936f38b..ba65e20 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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/