apache-phpfpm-memcache-mysql/phpfpm/Dockerfile

31 lines
877 B
Docker

FROM php:7.4-fpm
COPY ./www.conf /usr/local/etc/php-fpm.d/
RUN apt-get update
RUN apt-get install -y nano
RUN apt-get install -y iputils-ping
RUN apt-get install -y graphviz aspell clamav
RUN apt-get install -y libxml2-dev
RUN apt-get install -y libzip-dev
RUN apt-get install -y libpng-dev
RUN apt-get install -y libmemcached-dev
RUN printf "\n" | pecl install memcached
RUN docker-php-ext-install soap
RUN docker-php-ext-install zip
RUN docker-php-ext-install intl
RUN docker-php-ext-install gd
RUN docker-php-ext-install xmlrpc
RUN docker-php-ext-install opcache
RUN docker-php-ext-install mysqli pdo pdo_mysql
RUN docker-php-ext-enable soap
RUN docker-php-ext-enable zip
RUN docker-php-ext-enable intl
RUN docker-php-ext-enable gd
RUN docker-php-ext-enable xmlrpc
RUN docker-php-ext-enable mysqli
RUN docker-php-ext-enable pdo_mysql
RUN docker-php-ext-enable memcached