From d1f327e4627ed01454438844a2c96f075bf2f1e8 Mon Sep 17 00:00:00 2001 From: William Desportes Date: Sun, 1 Jan 2023 12:04:57 +0400 Subject: [PATCH] Fix #393 - Upgrade the image to PHP 8.1 --- CHANGELOG.md | 1 + Dockerfile-alpine.template | 2 +- Dockerfile-debian.template | 2 +- apache/Dockerfile | 2 +- fpm-alpine/Dockerfile | 2 +- fpm/Dockerfile | 2 +- 6 files changed, 6 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fa9d87c5..1e3ea92d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - Allow a different Apache port with `APACHE_PORT` (#340) - Add support for ENVs `PMA_UPLOADDIR` and `PMA_SAVEDIR` (#384) - Fixed a bug with `APACHE_PORT` ENV on container restart (#381) +- Update to PHP 8.1 (#393) ## [5.1.4] - 2022-05-11 diff --git a/Dockerfile-alpine.template b/Dockerfile-alpine.template index dfb5afd5..408e5318 100644 --- a/Dockerfile-alpine.template +++ b/Dockerfile-alpine.template @@ -1,4 +1,4 @@ -FROM php:8.0-%%VARIANT%% +FROM php:8.1-%%VARIANT%% # docker-entrypoint.sh dependencies RUN apk add --no-cache \ diff --git a/Dockerfile-debian.template b/Dockerfile-debian.template index 9cceaaa0..293566d3 100644 --- a/Dockerfile-debian.template +++ b/Dockerfile-debian.template @@ -1,4 +1,4 @@ -FROM php:8.0-%%VARIANT%% +FROM php:8.1-%%VARIANT%% # Install dependencies RUN set -ex; \ diff --git a/apache/Dockerfile b/apache/Dockerfile index 34cc4601..d9dd0a38 100644 --- a/apache/Dockerfile +++ b/apache/Dockerfile @@ -1,4 +1,4 @@ -FROM php:8.0-apache +FROM php:8.1-apache # Install dependencies RUN set -ex; \ diff --git a/fpm-alpine/Dockerfile b/fpm-alpine/Dockerfile index 29ec2865..b3d85f0b 100644 --- a/fpm-alpine/Dockerfile +++ b/fpm-alpine/Dockerfile @@ -1,4 +1,4 @@ -FROM php:8.0-fpm-alpine +FROM php:8.1-fpm-alpine # docker-entrypoint.sh dependencies RUN apk add --no-cache \ diff --git a/fpm/Dockerfile b/fpm/Dockerfile index ac94f1d8..172f922c 100644 --- a/fpm/Dockerfile +++ b/fpm/Dockerfile @@ -1,4 +1,4 @@ -FROM php:8.0-fpm +FROM php:8.1-fpm # Install dependencies RUN set -ex; \