From 48ff05c859142c5b0581b9cdc16bce38ba906bd3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastian=20Molle?= Date: Wed, 16 Aug 2023 21:24:12 +0200 Subject: [PATCH] Feat/upgrade v8.2.8 (#111) * Fix testsuites for use the good compose file * Upgrade Composer to v2.5.8 * Upgrade XDebug extension to v3.2.2 * Update PHP v8.2.8 --- .build.env | 2 +- Dockerfiles/Dockerfile.in | 4 ++-- README.md | 38 +++++++++++++++++++------------------- test/tests.cli.bats | 2 +- 4 files changed, 23 insertions(+), 23 deletions(-) diff --git a/.build.env b/.build.env index 84b27de..721f2cb 100644 --- a/.build.env +++ b/.build.env @@ -2,7 +2,7 @@ DOCKER_IMAGE_NAME=docker.io/elasticms/base-php # Default PHP Version -PHP_VERSION=8.2.7 +PHP_VERSION=8.2.8 # Default Versions NODE_VERSION=18 diff --git a/Dockerfiles/Dockerfile.in b/Dockerfiles/Dockerfile.in index 2d88c41..14e3b66 100644 --- a/Dockerfiles/Dockerfile.in +++ b/Dockerfiles/Dockerfile.in @@ -5,7 +5,7 @@ ARG COMPOSER_VERSION_ARG FROM composer:${COMPOSER_VERSION_ARG:-2.5.8} AS composer FROM node:${NODE_VERSION_ARG:-18}-alpine3.18 AS node -FROM php:${VERSION_ARG:-8.2.7}-fpm-alpine3.18 AS fpm-prd +FROM php:${VERSION_ARG:-8.2.8}-fpm-alpine3.18 AS fpm-prd # include(fpm-prd.m4) @@ -29,7 +29,7 @@ FROM fpm-dev AS nginx-dev # include(nginx.m4) -FROM php:${VERSION_ARG:-8.2.7}-cli-alpine3.18 AS cli-prd +FROM php:${VERSION_ARG:-8.2.8}-cli-alpine3.18 AS cli-prd # include(cli-prd.m4) diff --git a/README.md b/README.md index ad472c0..7e9a35a 100644 --- a/README.md +++ b/README.md @@ -43,49 +43,49 @@ Default value of Docker build arguments is grabbed from the [.build.env](.build. ## Example building __fpm__ variant __prd__ Docker image ```sh -make build-fpm PHP_VERSION=8.2.7 +make build-fpm PHP_VERSION=8.2.8 ``` -__Provide docker image__ : `docker.io/elasticms/base-php:8.2.7-fpm-prd` +__Provide docker image__ : `docker.io/elasticms/base-php:8.2.8-fpm-prd` ```sh -make build-fpm PHP_VERSION=8.2.7 DOCKER_IMAGE_NAME=docker.io/lambdauser/mybasephpimage +make build-fpm PHP_VERSION=8.2.8 DOCKER_IMAGE_NAME=docker.io/lambdauser/mybasephpimage ``` -__Provide docker image__ : `docker.io/lambdauser/mybasephpimage:8.2.7-fpm-prd` +__Provide docker image__ : `docker.io/lambdauser/mybasephpimage:8.2.8-fpm-prd` ## Example building __fpm__ variant __dev__ Docker image ```sh -make build-fpm-dev PHP_VERSION=8.2.7 +make build-fpm-dev PHP_VERSION=8.2.8 ``` -__Provide docker image__ : `docker.io/elasticms/base-php:8.2.7-fpm-dev` +__Provide docker image__ : `docker.io/elasticms/base-php:8.2.8-fpm-dev` ## Example building __nginx__ variant __dev__ Docker image ```sh -make build-nginx-dev PHP_VERSION=8.2.7 +make build-nginx-dev PHP_VERSION=8.2.8 ``` -__Provide docker image__ : `docker.io/elasticms/base-php:8.2.7-nginx-dev` +__Provide docker image__ : `docker.io/elasticms/base-php:8.2.8-nginx-dev` ## Example building __all__ variants Docker image ```sh -make build-all PHP_VERSION=8.2.7 +make build-all PHP_VERSION=8.2.8 ``` __Provide docker images__ : -- `docker.io/elasticms/base-php:8.2.7-fpm-prd` -- `docker.io/elasticms/base-php:8.2.7-fpm-dev` -- `docker.io/elasticms/base-php:8.2.7-apache-prd` -- `docker.io/elasticms/base-php:8.2.7-apache-dev` -- `docker.io/elasticms/base-php:8.2.7-nginx-prd` -- `docker.io/elasticms/base-php:8.2.7-nginx-dev` -- `docker.io/elasticms/base-php:8.2.7-cli-prd` -- `docker.io/elasticms/base-php:8.2.7-cli-dev` +- `docker.io/elasticms/base-php:8.2.8-fpm-prd` +- `docker.io/elasticms/base-php:8.2.8-fpm-dev` +- `docker.io/elasticms/base-php:8.2.8-apache-prd` +- `docker.io/elasticms/base-php:8.2.8-apache-dev` +- `docker.io/elasticms/base-php:8.2.8-nginx-prd` +- `docker.io/elasticms/base-php:8.2.8-nginx-dev` +- `docker.io/elasticms/base-php:8.2.8-cli-prd` +- `docker.io/elasticms/base-php:8.2.8-cli-dev` # Test ## Prerequisite @@ -101,13 +101,13 @@ make test[-fpm|-apache|-nginx|-cli|-all][-dev] PHP_VERSION=