![]() RUN apt-get update -y & apt-get install -y libmariadb-dev & docker-php-ext-install mysqli & docker-php-ext-install pdo_mysqlĪnd my docker-compose.yml as follow : services:įor me, all is good, but when I run "docker compose up -build", container is launched, but he has not install "mysqli" and "pdo_mysql" like I request in the Dockerfile.īut, if I log in by CLI to the PHP container, and that I run docker-php-ext-install mysqli and docker-php-ext-install pdo_mysql, it works, and I just have to restart the PHP container.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |