Skip to content

Commit

Permalink
fix: end PHP 7.4 & 8.0 support, add 8 & latest tags to PHP 8.3, a…
Browse files Browse the repository at this point in the history
…dd CONTRIBUTING doc (#22)

* fix: end PHP 7.4 & 8.0 support

* feat: add `8` & `latest` tags to PHP 8.3 Docker image

* docs: CONTRIBUTING
  • Loading branch information
lucasmirloup authored Mar 13, 2024
1 parent b855f58 commit 2f5f42c
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 23 deletions.
5 changes: 5 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -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.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -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 |
Expand Down
25 changes: 6 additions & 19 deletions compose.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -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

0 comments on commit 2f5f42c

Please sign in to comment.