Enable mod_rewrite.

This commit is contained in:
Paolo Cuffiani
2015-11-09 15:14:52 +01:00
parent 130cd76a8c
commit 1f3df97ea9
18 changed files with 43 additions and 22 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
FROM chialab/php:5.4-apache
MAINTAINER paolo.cuffiani@chialab.it
MAINTAINER dev@chialab.it
# Install XDebug.
RUN pecl install xdebug \
+1 -1
View File
@@ -1,5 +1,5 @@
FROM chialab/php:5.4-fpm
MAINTAINER paolo.cuffiani@chialab.it
MAINTAINER dev@chialab.it
# Install XDebug.
RUN pecl install xdebug \
+1 -1
View File
@@ -1,5 +1,5 @@
FROM chialab/php:5.5-apache
MAINTAINER paolo.cuffiani@chialab.it
MAINTAINER dev@chialab.it
# Install XDebug.
RUN pecl install xdebug \
+1 -1
View File
@@ -1,5 +1,5 @@
FROM chialab/php:5.5-fpm
MAINTAINER paolo.cuffiani@chialab.it
MAINTAINER dev@chialab.it
# Install XDebug.
RUN pecl install xdebug \
+1 -1
View File
@@ -1,5 +1,5 @@
FROM chialab/php:5.6-apache
MAINTAINER paolo.cuffiani@chialab.it
MAINTAINER dev@chialab.it
# Install XDebug.
RUN pecl install xdebug \
+1 -1
View File
@@ -1,5 +1,5 @@
FROM chialab/php:5.6-fpm
MAINTAINER paolo.cuffiani@chialab.it
MAINTAINER dev@chialab.it
# Install XDebug.
RUN pecl install xdebug \
+1 -1
View File
@@ -1,5 +1,5 @@
FROM chialab/php:latest
MAINTAINER paolo.cuffiani@chialab.it
MAINTAINER dev@chialab.it
# Install XDebug.
RUN pecl install xdebug \
+12 -2
View File
@@ -9,7 +9,9 @@ TAGS = \
5.5-apache \
5.5-fpm \
5.6-apache \
5.6-fpm
5.6-fpm \
7.0-apache \
7.0-fpm
EXTENSIONS = \
bz2 \
calendar \
@@ -34,7 +36,8 @@ pull:
docker pull $(PARENT_IMAGE):$${tag}; \
done
build: pull
build:
#build: pull
@for tag in $(TAGS); do \
dir=`echo "$${tag}" | sed s:-:/:`; \
if [ $$tag == 'latest' ]; then \
@@ -54,6 +57,13 @@ test:
exit 1; \
fi \
done; \
if [[ $$tag = *'-apache' ]]; then \
apache=`docker run --rm $(IMAGE):$${tag} apache2ctl -M 2> /dev/null`; \
if [[ $$apache != *'rewrite_module'* ]]; then \
echo 'FAIL [mod_rewrite]'; \
exit 1; \
fi \
fi; \
echo 'OK'; \
done