34 lines
849 B
Docker
34 lines
849 B
Docker
|
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 \
|
||
|
php8.1-fpm \
|
||
|
php8.1-cli \
|
||
|
php8.1-curl \
|
||
|
php8.1-pgsql \
|
||
|
php8.1-mysql \
|
||
|
php8.1-sqlite3 \
|
||
|
php8.1-gd \
|
||
|
php8.1-mbstring \
|
||
|
php8.1-zip \
|
||
|
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
|
||
|
|
||
|
CMD ["/usr/sbin/php-fpm8.1", "--nodaemonize", "--fpm-config", "/etc/php/8.1/fpm/php-fpm.conf"]
|
||
|
|
||
|
STOPSIGNAL SIGQUIT
|