From 693ce7b4d24bafedf5bd89d5b7b1719aa0aa4429 Mon Sep 17 00:00:00 2001 From: Jens Erat Date: Thu, 2 Apr 2015 00:01:27 +0200 Subject: [PATCH] Removed bashism in Dockerfile --- apache-Dockerfile-block-1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apache-Dockerfile-block-1 b/apache-Dockerfile-block-1 index 2d53bf9e..7369f913 100644 --- a/apache-Dockerfile-block-1 +++ b/apache-Dockerfile-block-1 @@ -5,7 +5,7 @@ RUN rm -rf /var/www/html && mkdir -p /var/lock/apache2 /var/run/apache2 /var/log # Apache + PHP requires preforking Apache for best results RUN a2dismod mpm_event && a2enmod mpm_prefork -RUN mv /etc/apache2/apache2.conf /etc/apache2/apache2.conf.dist && rm /etc/apache2/{conf,sites}-enabled/* +RUN mv /etc/apache2/apache2.conf /etc/apache2/apache2.conf.dist && rm /etc/apache2/conf-enabled/* /etc/apache2/sites-enabled/* COPY apache2.conf /etc/apache2/apache2.conf # it'd be nice if we could not COPY apache2.conf until the end of the Dockerfile, but its contents are checked by PHP during compilation