Enable apache rewrite mod

This commit is contained in:
Pierre Jaury 2018-06-09 17:45:57 +02:00
parent b005b3a22c
commit be13d1aa98
1 changed files with 1 additions and 0 deletions

View File

@ -8,6 +8,7 @@ RUN apt-get update \
&& docker-php-ext-install pdo_mysql pcntl \ && docker-php-ext-install pdo_mysql pcntl \
&& pecl install imagick \ && pecl install imagick \
&& docker-php-ext-enable imagick pcntl imagick \ && docker-php-ext-enable imagick pcntl imagick \
&& a2enmod rewrite \
&& curl -LsS https://getcomposer.org/download/${COMPOSER_VERSION}/composer.phar -o /tmp/composer.phar \ && curl -LsS https://getcomposer.org/download/${COMPOSER_VERSION}/composer.phar -o /tmp/composer.phar \
&& echo "${COMPOSER_CHECKSUM} /tmp/composer.phar" | sha256sum -c - \ && echo "${COMPOSER_CHECKSUM} /tmp/composer.phar" | sha256sum -c - \
&& install -m0755 -o root -g root /tmp/composer.phar /usr/bin/composer.phar \ && install -m0755 -o root -g root /tmp/composer.phar /usr/bin/composer.phar \