dockerfiles/bookworm_php8/Dockerfile-mysql

18 lines
482 B
Text

FROM gnuviech/bookworm_php8-base:latest
LABEL maintainer="jan@dittberner.info"
RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive \
apt-get install -y --no-install-recommends \
php8.2-dba \
php8.2-mysql \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*.*
RUN rm -f /etc/php/8.2/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"]