123456789101112131415161718 |
- FROM php:7.4-cli
- RUN apt-get update && apt-get install -y wget git unzip --fix-missing \
- && pecl install xdebug-2.9.5 \
- && docker-php-ext-enable xdebug
- RUN apt-get install -y libxml2-dev \
- && docker-php-ext-install soap
- ADD php.ini /usr/local/etc/php/php.ini
- ENV COMPOSER_ALLOW_SUPERUSER 1
- RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/bin --filename=composer --quiet \
- && rm -rf /root/.composer/cache
- RUN apt-get update && apt-get install -y libpq-dev && docker-php-ext-install pdo pdo_mysql mysqli
- RUN docker-php-ext-enable pdo pdo_mysql mysqli
- WORKDIR /app
|