add mysqli module
This commit is contained in:
parent
2ddbbd23a7
commit
a771d02343
4 changed files with 20 additions and 12 deletions
|
|
@ -1,5 +1,7 @@
|
|||
FROM php:7.4-apache
|
||||
RUN a2enmod rewrite
|
||||
RUN docker-php-ext-install pdo pdo_mysql
|
||||
RUN apt-get update; apt-get install -y --no-install-recommends msmtp msmtp-mta; rm -rf /var/lib/apt/lists/*;
|
||||
RUN [ ! -f /etc/msmtprc ] && touch /etc/msmtprc
|
||||
RUN docker-php-ext-install mysqli pdo pdo_mysql
|
||||
RUN docker-php-ext-enable mysqli pdo pdo_mysql
|
||||
RUN apt-get update; apt-get install -y --no-install-recommends mysql-client msmtp msmtp-mta; rm -rf /var/lib/apt/lists/*;
|
||||
RUN [ ! -f /etc/msmtprc ] && touch /etc/msmtprc
|
||||
RUN apachectl restart
|
||||
Loading…
Add table
Add a link
Reference in a new issue