apache-phpfpm-memcache-mysql/phpfpm/Dockerfile

31 lines
877 B
Docker
Raw Normal View History

2022-10-31 15:25:48 +05:30
FROM php:7.4-fpm
COPY ./www.conf /usr/local/etc/php-fpm.d/
2022-10-31 17:06:16 +05:30
2022-10-31 15:25:48 +05:30
RUN apt-get update
RUN apt-get install -y nano
RUN apt-get install -y iputils-ping
2022-10-31 17:06:16 +05:30
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
2022-11-01 14:15:34 +05:30
RUN apt-get install -y libmemcached-dev
RUN printf "\n" | pecl install memcached
2022-10-31 17:06:16 +05:30
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
2022-11-03 18:28:50 +05:30
RUN docker-php-ext-install opcache
2022-10-31 17:06:16 +05:30
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
2022-11-01 14:15:34 +05:30
RUN docker-php-ext-enable memcached