Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: end PHP 7.4 & 8.0 support, add 8 & latest tags to PHP 8.3, add CONTRIBUTING doc #22

Merged
merged 3 commits into from
Mar 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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