FROM php:8.0-apache RUN apt-get update && apt-get upgrade -y RUN cd /var/www/html RUN apt-get install -y git unzip libssh-dev RUN docker-php-ext-install mysqli pdo pdo_mysql && docker-php-ext-enable mysqli pdo pdo_mysql RUN yes '' | pecl install mongodb && echo "extension=mongodb.so" > $PHP_INI_DIR/conf.d/mongo.ini RUN curl https://getcomposer.org/installer -o composer_installer.php RUN php composer_installer.php RUN php composer.phar require mongodb/mongodb