Skip to content

Commit d602022

Browse files
committed
Update container
- Enable the PHP Mysql extention - Use composer 2 instead of 1
1 parent d7760fc commit d602022

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docker/php-fpm/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ COPY ./conf/10-docker-opcache-openconext.conf /usr/local/etc/php/conf.d/
77
CMD ["/usr/local/sbin/php-fpm" , "-F"]
88

99
FROM fpmprod AS fpmdev
10-
COPY --from=composer:1 /usr/bin/composer /usr/bin/composer
10+
COPY --from=composer /usr/bin/composer /usr/bin/composer
1111
COPY ./conf/xdebug.ini /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
1212
RUN apk --update --no-cache add git npm yarn autoconf g++ make && \
1313
docker-php-ext-install exif && \
1414
pecl install -f xdebug-3.1.6 && \
15-
docker-php-ext-enable xdebug && \
15+
docker-php-ext-enable xdebug mysqli && \
1616
apk del --purge autoconf g++ make
1717
CMD ["/usr/local/sbin/php-fpm" , "-F"]

0 commit comments

Comments
 (0)