Upgrade to PHP8
This commit is contained in:
16
Dockerfile
16
Dockerfile
@@ -1,4 +1,4 @@
|
|||||||
FROM alpine:3.15
|
FROM alpine:latest
|
||||||
MAINTAINER Jeroen Geusebroek <me@jeroengeusebroek.nl>
|
MAINTAINER Jeroen Geusebroek <me@jeroengeusebroek.nl>
|
||||||
|
|
||||||
ARG VERSION=1.4.0
|
ARG VERSION=1.4.0
|
||||||
@@ -8,12 +8,12 @@ ENV GID=991 UID=991
|
|||||||
RUN apk -U add \
|
RUN apk -U add \
|
||||||
curl \
|
curl \
|
||||||
nginx \
|
nginx \
|
||||||
php7-fpm \
|
php8-fpm \
|
||||||
php7-gd \
|
php8-gd \
|
||||||
php7-json \
|
php8-json \
|
||||||
php7-pdo \
|
php8-pdo \
|
||||||
php7-pdo_mysql \
|
php8-pdo_mysql \
|
||||||
php7-pdo_pgsql \
|
php8-pdo_pgsql \
|
||||||
supervisor \
|
supervisor \
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
tar \
|
tar \
|
||||||
@@ -38,7 +38,7 @@ RUN apk -U add \
|
|||||||
&& rm -f /privatebin.tar.gz* *.md /var/cache/apk/*
|
&& rm -f /privatebin.tar.gz* *.md /var/cache/apk/*
|
||||||
|
|
||||||
COPY files/nginx.conf /etc/nginx/nginx.conf
|
COPY files/nginx.conf /etc/nginx/nginx.conf
|
||||||
COPY files/php-fpm.conf /etc/php7/php-fpm.conf
|
COPY files/php-fpm.conf /etc/php8/php-fpm.conf
|
||||||
COPY files/supervisord.conf /usr/local/etc/supervisord.conf
|
COPY files/supervisord.conf /usr/local/etc/supervisord.conf
|
||||||
COPY entrypoint.sh /
|
COPY entrypoint.sh /
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ pidfile=/var/run/supervisord.pid
|
|||||||
logfile=/var/log/supervisord.log
|
logfile=/var/log/supervisord.log
|
||||||
|
|
||||||
[program:php-fpm]
|
[program:php-fpm]
|
||||||
command=php-fpm7
|
command=php-fpm8
|
||||||
stdout_logfile=/dev/stdout
|
stdout_logfile=/dev/stdout
|
||||||
stdout_logfile_maxbytes=0
|
stdout_logfile_maxbytes=0
|
||||||
stderr_logfile=/dev/stderr
|
stderr_logfile=/dev/stderr
|
||||||
|
|||||||
Reference in New Issue
Block a user