used mysql in the containers by default

the PHP containers were set to use postgres by default. This change install mysql by default
This commit is contained in:
Jeremy Quinton 2018-07-04 13:38:47 +02:00
parent 55ada1bb80
commit 9c1763f475
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ RUN apt-get update && apt-get install -y \
libfontconfig \
libxext-dev \
&& docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \
&& docker-php-ext-install -j$(nproc) pdo_pgsql pgsql mcrypt gd zip
&& docker-php-ext-install -j$(nproc) pdo_mysql mysqli mcrypt gd zip
RUN apt-get install -y zip unzip curl git
RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"

View File

@ -9,5 +9,5 @@ RUN apt-get update && apt-get install -y \
libfontconfig \
libxext-dev \
&& docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \
&& docker-php-ext-install -j$(nproc) pdo_pgsql pgsql mcrypt gd zip
&& docker-php-ext-install -j$(nproc) pdo_mysql mysqli mcrypt gd zip
WORKDIR /usr/share/nginx/html/attendize