18 lines
465 B
Text
18 lines
465 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.1-pgsql \
|
||
|
&& apt-get clean \
|
||
|
&& rm -rf /var/lib/apt/lists/*.*
|
||
|
|
||
|
RUN rm -f /etc/php/8.1/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"]
|