2022-10-21 11:15:46 +02:00
|
|
|
FROM debian:bookworm-slim
|
|
|
|
|
|
|
|
RUN set -eux && \
|
|
|
|
apt-get update && \
|
|
|
|
DEBIAN_FRONTEND=noninteractive apt-get upgrade -y && \
|
|
|
|
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
|
|
|
|
vim \
|
|
|
|
locales \
|
|
|
|
openssl \
|
|
|
|
ca-certificates \
|
|
|
|
net-tools \
|
|
|
|
curl \
|
2023-07-07 17:13:48 +02:00
|
|
|
php8.2-fpm \
|
|
|
|
php8.2-cli \
|
|
|
|
php8.2-curl \
|
|
|
|
php8.2-pgsql \
|
|
|
|
php8.2-mysql \
|
|
|
|
php8.2-sqlite3 \
|
|
|
|
php8.2-gd \
|
|
|
|
php8.2-mbstring \
|
|
|
|
php8.2-zip \
|
2022-10-21 11:15:46 +02:00
|
|
|
php-pear \
|
|
|
|
&& \
|
|
|
|
rm -rf /var/lib/apt/lists/* && \
|
|
|
|
echo 'en_US.UTF-8 UTF-8' >> /etc/locale.gen && \
|
|
|
|
/usr/sbin/locale-gen && \
|
|
|
|
/usr/sbin/update-locale 'LANG=en_US.UTF-8'
|
|
|
|
|
|
|
|
EXPOSE 9000/tcp
|
|
|
|
|
2023-07-07 17:13:48 +02:00
|
|
|
CMD ["/usr/sbin/php-fpm8.2", "--nodaemonize", "--fpm-config", "/etc/php/8.2/fpm/php-fpm.conf"]
|
2022-10-21 11:15:46 +02:00
|
|
|
|
|
|
|
STOPSIGNAL SIGQUIT
|