You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
941 B
Docker
48 lines
941 B
Docker
2 years ago
|
FROM debian:sid
|
||
|
|
||
|
# Set the env variables to non-interactive
|
||
|
ENV DEBIAN_FRONTEND noninteractive
|
||
|
ENV DEBIAN_PRIORITY critical
|
||
|
ENV DEBCONF_NOWARNINGS yes
|
||
|
|
||
|
RUN apt-get update && apt-get -y install \
|
||
|
php7.4-memcached \
|
||
|
php-redis \
|
||
|
php7.4-bcmath \
|
||
|
php7.4-bz2 \
|
||
|
php7.4-cli \
|
||
|
php7.4-common \
|
||
|
php7.4-curl \
|
||
|
php7.4-fpm \
|
||
|
php7.4-gmp \
|
||
|
php7.4-intl \
|
||
|
php7.4-json \
|
||
|
php7.4-mbstring \
|
||
|
php7.4-mysql \
|
||
|
php7.4-odbc \
|
||
|
php7.4-opcache \
|
||
|
php7.4-pgsql \
|
||
|
php7.4-readline \
|
||
|
php7.4-tidy \
|
||
|
php7.4-xml \
|
||
|
php7.4-xmlrpc \
|
||
|
php7.4-xsl \
|
||
|
php7.4-zip \
|
||
|
php7.4-gd \
|
||
|
php-bcmath \
|
||
|
php-apcu \
|
||
|
php-cli \
|
||
|
php-imagick \
|
||
|
composer
|
||
|
|
||
|
ADD ./www.conf /etc/php/7.4/fpm/pool.d/www.conf
|
||
|
ADD ./php.ini /etc/php/7.4/fpm/
|
||
|
ADD ./php-fpm.conf /etc/php/7.4/fpm/
|
||
|
|
||
|
CMD [ \
|
||
|
"/usr/sbin/php-fpm7.4", \
|
||
|
"--nodaemonize", \
|
||
|
"--fpm-config", \
|
||
|
"/etc/php/7.4/fpm/php-fpm.conf" \
|
||
|
]
|