docker
Showing
1 changed file
with
8 additions
and
0 deletions
| ... | @@ -4,6 +4,14 @@ FROM php:5.6-apache | ... | @@ -4,6 +4,14 @@ FROM php:5.6-apache |
| 4 | RUN a2enmod php5 | 4 | RUN a2enmod php5 |
| 5 | RUN a2enmod rewrite | 5 | RUN a2enmod rewrite |
| 6 | 6 | ||
| 7 | RUN apt-get update && apt-get install -y \ | ||
| 8 | && docker-php-ext-install mysql \ | ||
| 9 | && docker-php-ext-install mysqli \ | ||
| 10 | && docker-php-ext-install pdo_mysql \ | ||
| 11 | && cd /usr/src/php \ | ||
| 12 | && make clean | ||
| 13 | |||
| 14 | |||
| 7 | # Manually set up the apache environment variables | 15 | # Manually set up the apache environment variables |
| 8 | ENV APACHE_RUN_USER www-data | 16 | ENV APACHE_RUN_USER www-data |
| 9 | ENV APACHE_RUN_GROUP www-data | 17 | ENV APACHE_RUN_GROUP www-data | ... | ... |
-
Please register or sign in to post a comment