dockerfiles/bookworm_php8/Dockerfile-mysql

19 lines
482 B
Text
Raw Normal View History

2022-11-15 07:57:06 +01:00
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 \
2023-09-19 13:52:01 +02:00
php8.2-dba \
php8.2-mysql \
2022-11-15 07:57:06 +01:00
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*.*
2023-09-19 13:52:01 +02:00
RUN rm -f /etc/php/8.2/fpm/pool.d/www.conf
2022-11-15 07:57:06 +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"]