18 lines
482 B
Text
18 lines
482 B
Text
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 \
|
|
php7.4-dba \
|
|
php7.4-mysql \
|
|
&& apt-get clean \
|
|
&& rm -rf /var/lib/apt/lists/*.*
|
|
|
|
RUN rm -f /etc/php/7.4/fpm/pool.d/www.conf
|
|
|
|
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"]
|