Compare commits

...

4 Commits

Author SHA1 Message Date
Hugo Thunnissen dce1517f38 Change dockerfile to support php-7.3
continuous-integration/drone/push Build is passing Details
2 years ago
Hugo Thunnissen d17c0dd8aa s/DRONE_BRANCH_NAME/DRONE_BRANCH/
continuous-integration/drone/push Build is passing Details
2 years ago
Hugo Thunnissen 0c34072fc0 Use debian bullseye
continuous-integration/drone/push Build is failing Details
2 years ago
Hugo Thunnissen 0de0c4dca8 Use debian buster in stead of sid
continuous-integration/drone/push Build is failing Details
2 years ago

@ -10,5 +10,5 @@ steps:
username: hugotty username: hugotty
password: password:
from_secret: docker_password from_secret: docker_password
repo: "hugotty/${DRONE_BRANCH_NAME}-fpm" repo: "hugotty/${DRONE_BRANCH}-fpm"
tags: latest tags: latest

@ -1,4 +1,4 @@
FROM debian:sid FROM debian:buster
# Set the env variables to non-interactive # Set the env variables to non-interactive
ENV DEBIAN_FRONTEND noninteractive ENV DEBIAN_FRONTEND noninteractive
@ -6,42 +6,43 @@ ENV DEBIAN_PRIORITY critical
ENV DEBCONF_NOWARNINGS yes ENV DEBCONF_NOWARNINGS yes
RUN apt-get update && apt-get -y install \ RUN apt-get update && apt-get -y install \
php7.4-memcached \ php7.3-memcached \
php-redis \ php-redis \
php7.4-bcmath \ php7.3-bcmath \
php7.4-bz2 \ php7.3-bz2 \
php7.4-cli \ php7.3-cli \
php7.4-common \ php7.3-common \
php7.4-curl \ php7.3-curl \
php7.4-fpm \ php7.3-fpm \
php7.4-gmp \ php7.3-gmp \
php7.4-intl \ php7.3-intl \
php7.4-json \ php7.3-json \
php7.4-mbstring \ php7.3-mbstring \
php7.4-mysql \ php7.3-mysql \
php7.4-odbc \ php7.3-odbc \
php7.4-opcache \ php7.3-opcache \
php7.4-pgsql \ php7.3-pgsql \
php7.4-readline \ php7.3-readline \
php7.4-tidy \ php7.3-tidy \
php7.4-xml \ php7.3-xml \
php7.4-xmlrpc \ php7.3-xmlrpc \
php7.4-xsl \ php7.3-xsl \
php7.4-zip \ php7.3-zip \
php7.4-gd \ php7.3-gd \
php-bcmath \ php-bcmath \
php-apcu \ php-apcu \
php-cli \ php-cli \
php-imagick \ php-imagick \
composer composer
ADD ./www.conf /etc/php/7.4/fpm/pool.d/www.conf ADD ./www.conf /etc/php/7.3/fpm/pool.d/www.conf
ADD ./php.ini /etc/php/7.4/fpm/ ADD ./php.ini /etc/php/7.3/fpm/
ADD ./php-fpm.conf /etc/php/7.4/fpm/ ADD ./php.ini /etc/php/7.3/cli/
ADD ./php-fpm.conf /etc/php/7.3/fpm/
CMD [ \ CMD [ \
"/usr/sbin/php-fpm7.4", \ "/usr/sbin/php-fpm7.3", \
"--nodaemonize", \ "--nodaemonize", \
"--fpm-config", \ "--fpm-config", \
"/etc/php/7.4/fpm/php-fpm.conf" \ "/etc/php/7.3/fpm/php-fpm.conf" \
] ]

Loading…
Cancel
Save