1
0
docker-php-fpm/Dockerfile
Pim van den Berg 40b9bafd16
All checks were successful
continuous-integration/drone/push Build is passing
fix: upgrade to php8.2
2023-07-07 17:14:12 +02:00

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.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 \
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.2", "--nodaemonize", "--fpm-config", "/etc/php/8.2/fpm/php-fpm.conf"]
STOPSIGNAL SIGQUIT