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. 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..649a466 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: @@ -42,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