From 87d3e0f34b38f1140921e5508f19130502646955 Mon Sep 17 00:00:00 2001 From: Lucas Mirloup <97196064+lucasmirloup@users.noreply.github.com> Date: Tue, 12 Mar 2024 15:21:07 +0100 Subject: [PATCH 1/3] fix: end PHP 7.4 & 8.0 support --- README.md | 9 +++++---- compose.yaml | 22 +++------------------- 2 files changed, 8 insertions(+), 23 deletions(-) diff --git a/README.md b/README.md index 18b5b51..73cdb8c 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,14 @@ -# Docker lephare/php images +# lephare/php Docker image -Pre-configured docker image to follow [Le Phare](https://www.lephare.com) projects -[recommandations](https://faros.lephare.com) +Pre-configured Docker image that follows [Le Phare](https://www.lephare.com) projects +[recommendations](https://faros.lephare.com) | Version | Supported until | |---------|-----------------| +| 8.3 | | | 8.2 | | | 8.1 | | -| 8.0 | | +| 8.0 | 12 Mar. 2024 | | 7.4 | 14 Dec. 2023 | | 7.3 | 14 Dec. 2022 | | 7.2 | 14 Dec. 2022 | diff --git a/compose.yaml b/compose.yaml index fb9a9bf..896d6ea 100644 --- a/compose.yaml +++ b/compose.yaml @@ -1,31 +1,15 @@ services: - php_74: - image: lephare/php:7.4 + php_81: + image: lephare/php:8.1 build: args: &build-args - PHP_VERSION: "7.4" + PHP_VERSION: "8.1" PHP_EXTENSIONS: "@composer apcu exif gd imagick intl memcached opcache pdo_pgsql pgsql soap xdebug zip" x-bake: &build-x-bake platforms: - linux/amd64 - linux/arm64 - php_80: - image: lephare/php:8.0 - build: - args: - <<: *build-args - PHP_VERSION: "8.0" - x-bake: *build-x-bake - - php_81: - image: lephare/php:8.1 - build: - args: - <<: *build-args - PHP_VERSION: "8.1" - x-bake: *build-x-bake - php_82: image: lephare/php:8.2 build: From e61171921e1ab56a76230bbc87e3fbe85ee1a9ba Mon Sep 17 00:00:00 2001 From: Lucas Mirloup <97196064+lucasmirloup@users.noreply.github.com> Date: Tue, 12 Mar 2024 15:35:54 +0100 Subject: [PATCH 2/3] feat: add `8` & `latest` tags to PHP 8.3 Docker image --- compose.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/compose.yaml b/compose.yaml index 896d6ea..649a466 100644 --- a/compose.yaml +++ b/compose.yaml @@ -26,3 +26,6 @@ services: PHP_VERSION: "8.3" PHP_EXTENSIONS: "@composer apcu exif gd intl memcached opcache pdo_pgsql pgsql soap xdebug zip" # Disable Imagick for PHP 8.3 until https://github.com/Imagick/imagick/issues/640 is fixed x-bake: *build-x-bake + tags: + - lephare/php:8 + - lephare/php:latest From af67d52002deb4d934ca4d307007cc1302e0c2e5 Mon Sep 17 00:00:00 2001 From: Lucas Mirloup <97196064+lucasmirloup@users.noreply.github.com> Date: Tue, 12 Mar 2024 15:49:46 +0100 Subject: [PATCH 3/3] docs: CONTRIBUTING --- CONTRIBUTING.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 CONTRIBUTING.md diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..acf6a56 --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,5 @@ +# Contributing + +## Multi-platforms build requirements + +Please follow [Docker's documentation on Multi-platform images](https://docs.docker.com/build/building/multi-platform/#qemu) in order to setup your build environment.