grav on php74/bullseye

This commit is contained in:
2020-11-30 19:34:31 +01:00
parent 2e3e37062a
commit 9561cb8d82
8 changed files with 23 additions and 14 deletions

View File

@@ -1,4 +1,4 @@
FROM debian:buster-slim
FROM debian:bullseye-slim
ENV DEBIAN_FRONTEND noninteractive
ARG GRAV_VERSION=1.6.28
@@ -22,7 +22,7 @@ RUN apt-get remove -y --purge ${DEV_PKGS} exim4* && \
RUN mkdir /run/php && \
chown www-data:www-data /var/log /run/php && \
mkdir -p /etc/php/7.3/fpm/pool.d
mkdir -p /etc/php/7.4/fpm/pool.d
ADD docker-entrypoint.sh /
ADD supervisor.conf /etc/supervisor.conf

View File

@@ -25,7 +25,7 @@ spec:
- name: grav-pages
mountPath: /var/www/grav
- name: grav-etc-php-fpm-www-conf
mountPath: /etc/php/7.3/fpm/pool.d
mountPath: /etc/php/7.4/fpm/pool.d
- image: nginx:alpine
name: nginx
imagePullPolicy: IfNotPresent

View File

@@ -10,5 +10,5 @@ user=root
[program:php-fpm]
command=/usr/sbin/php-fpm7.3 --nodaemonize --force-stderr
command=/usr/sbin/php-fpm7.4 --nodaemonize --force-stderr
user=www-data