Skip to content
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
2 changes: 1 addition & 1 deletion .github/workflows/build-and-test-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
strategy:
fail-fast: true
matrix:
php: [ '7.4', '8.0', '8.1', '8.2' ]
php: [ '7.4', '8.0', '8.1', '8.2', '8.3' ]

steps:
- name: Checkout code
Expand Down
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ utilize this image naming pattern in any of your projects:
ghcr.io/sitepilot/php-{{variation-name}}:{{php-version}}
```

For example, if you wish to run **PHP 8.2** with **FPM** & **NGINX**, use the following image name:
For example, if you wish to run **PHP 8.3** with **FPM** & **NGINX**, use the following image name:

```bash
ghcr.io/sitepilot/php-nginx:8.1
ghcr.io/sitepilot/php-nginx:8.3
```

### Customization
Expand All @@ -29,21 +29,21 @@ image naming pattern in your `Dockerfile`:
FROM ghcr.io/sitepilot/php-{{variation-name}}:{{php-version}}-{{release-version}}
```

The images are tagged according to Semantic Versioning (SemVer). Available releases can be found on the [releases page](https://github.com/sitepilot/docker-php/releases). For example, if you wish to customize version 1.x of the image:
The images are tagged according to Semantic Versioning (SemVer). Available releases can be found on the [releases page](https://github.com/sitepilot/docker-php/releases). For example, if you wish to customize the **PHP 8.3** with **FPM** & **NGINX** image:

```Dockerfile
# Guaranteed backward compatibility, new features and bug fixes.
FROM ghcr.io/sitepilot/php-nginx:8.2-1
FROM ghcr.io/sitepilot/php-nginx:8.3-1
```

```Dockerfile
# Guaranteed backward compatibility and bug fixes.
FROM ghcr.io/sitepilot/php-nginx:8.2-1.0
FROM ghcr.io/sitepilot/php-nginx:8.3-1.0
```

```Dockerfile
# Guaranteed backward compatibility and no updates.
FROM ghcr.io/sitepilot/php-nginx:8.2-1.0.0
FROM ghcr.io/sitepilot/php-nginx:8.3-1.0.0
```

## Variations
Expand All @@ -65,6 +65,7 @@ The following PHP versions are available:
* PHP 8.0
* PHP 8.1
* PHP 8.2
* PHP 8.3

You can find a list of installed PHP extensions for each PHP version [here](./src/packages).

Expand Down
8 changes: 4 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
services:
php-cli:
image: ghcr.io/sitepilot/php-cli:8.1
image: ghcr.io/sitepilot/php-cli:8.3
profiles:
- donotstart
build:
context: ./src
target: cli

php-fpm:
image: ghcr.io/sitepilot/php-fpm:8.1
image: ghcr.io/sitepilot/php-fpm:8.3
build:
context: ./src
target: fpm

php-nginx:
image: ghcr.io/sitepilot/php-nginx:8.1
image: ghcr.io/sitepilot/php-nginx:8.3
build:
context: ./src
target: nginx
Expand All @@ -23,7 +23,7 @@ services:
- 8443:443

php-ols:
image: ghcr.io/sitepilot/php-ols:8.1
image: ghcr.io/sitepilot/php-ols:8.3
build:
context: ./src
target: ols
Expand Down
2 changes: 1 addition & 1 deletion src/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FROM ghcr.io/sitepilot/runtime:1 AS cli

USER root

ARG PHP_VERSION=8.1
ARG PHP_VERSION=8.3

ENV RUNTIME_LOG_LEVEL=4 \
PHP_VERSION=${PHP_VERSION}
Expand Down
15 changes: 15 additions & 0 deletions src/packages/php-8.3.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
php8.3-bcmath
php8.3-cli
php8.3-common
php8.3-curl
php8.3-gd
php8.3-imagick
php8.3-intl
php8.3-mbstring
php8.3-mysql
php8.3-opcache
php8.3-redis
php8.3-soap
php8.3-sqlite3
php8.3-xml
php8.3-zip