FROM wyveo/nginx-php-fpm:php74
LABEL maintainer colin@wyveo.com
# Remove existing webroot, configure PHP session handler for Redis, install postgresql-client (pg_dump)
RUN apt-get update && \
apt-get install -y libgmp-dev php7.4-gmp
Then build using docker build .
This will ask for a prompt:
Configuration file '/etc/php/7.4/fpm/pool.d/www.conf'
==> Modified (by you or by a script) since installation.
==> Package distributor has shipped an updated version.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a shell to examine the situation
The default action is to keep your current version.
*** www.conf (Y/I/N/O/D/Z) [default=N] ? dpkg: error processing package php7.4-fpm (--configure):
end of file on stdin at conffile prompt
Work-around is to answer the prompt like so:
FROM wyveo/nginx-php-fpm:php74
LABEL maintainer colin@wyveo.com
# Remove existing webroot, configure PHP session handler for Redis, install postgresql-client (pg_dump)
RUN apt-get update && \
echo "N" | apt-get install -y libgmp-dev php7.4-gmp
Dockerfile:
Then build using
docker build .
This will ask for a prompt:
Work-around is to answer the prompt like so: