2020-02-08 22:13:52 +01:00
|
|
|
FROM gnuviech/bullseye_php7-base:latest
|
|
|
|
LABEL maintainer="jan@dittberner.info"
|
|
|
|
|
|
|
|
RUN apt-get update \
|
|
|
|
&& DEBIAN_FRONTEND=noninteractive \
|
|
|
|
apt-get install -y --no-install-recommends \
|
2022-02-12 10:11:27 +01:00
|
|
|
php7.4-dba \
|
2020-10-31 18:06:14 +01:00
|
|
|
php7.4-mysql \
|
2020-02-08 22:13:52 +01:00
|
|
|
&& apt-get clean \
|
|
|
|
&& rm -rf /var/lib/apt/lists/*.*
|
|
|
|
|
2020-10-31 18:06:14 +01:00
|
|
|
RUN rm -f /etc/php/7.4/fpm/pool.d/www.conf
|
2020-02-08 22:13:52 +01:00
|
|
|
|
|
|
|
COPY start-fpm.sh /usr/local/sbin
|
|
|
|
COPY fpm-pool.conf.tmpl /usr/local/etc
|
|
|
|
|
|
|
|
ENTRYPOINT ["/usr/bin/dumb-init", "--"]
|
|
|
|
CMD ["/usr/local/sbin/start-fpm.sh"]
|