Skip to content

Commit

Permalink
Add in bits for php 8.3 support
Browse files Browse the repository at this point in the history
  • Loading branch information
pieterocp committed Jan 25, 2024
1 parent b27bda8 commit ce945ee
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/build_php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
- "8.0"
- "8.1"
- "8.2"
- "8.3"
php-target:
- "cli"
- "fpm"
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build_push_php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
- "8.0"
- "8.1"
- "8.2"
- "8.3"
php-target:
- "cli"
- "fpm"
Expand Down
5 changes: 4 additions & 1 deletion php/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Extends the official PHP image with the following PHP extensions:

See [prooph/proophessor-do app](https://github.com/prooph/proophessor-do) for an example.

> Each image has tags for 7.4, 8.0, 8.1 and 8.2
> Each image has tags for 7.4, 8.0, 8.1, 8.2 and 8.3.
There are also PHP ZTS versions.

Expand Down Expand Up @@ -111,6 +111,9 @@ To run Composer use:
$ docker run --rm -it --volume $(pwd):/app prooph/composer:7.4 [your composer command]
```

## Composer with PHP 8.3
Use the following image: `prooph/composer:8.3`.

## Composer with PHP 8.2
Use the following image: `prooph/composer:8.2`.

Expand Down
9 changes: 9 additions & 0 deletions php/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,35 +14,44 @@ docker-build:
export PHP_VERSION=8.0; export PHP_TARGET=cli; export DOCKER_REGISTRY=prooph/; docker-compose build
export PHP_VERSION=8.1; export PHP_TARGET=cli; export DOCKER_REGISTRY=prooph/; docker-compose build
export PHP_VERSION=8.2; export PHP_TARGET=cli; export DOCKER_REGISTRY=prooph/; docker-compose build
export PHP_VERSION=8.3; export PHP_TARGET=cli; export DOCKER_REGISTRY=prooph/; docker-compose build

export PHP_VERSION=8.0; export PHP_TARGET=fpm; export DOCKER_REGISTRY=prooph/; docker-compose build
export PHP_VERSION=8.1; export PHP_TARGET=fpm; export DOCKER_REGISTRY=prooph/; docker-compose build
export PHP_VERSION=8.2; export PHP_TARGET=fpm; export DOCKER_REGISTRY=prooph/; docker-compose build
export PHP_VERSION=8.3; export PHP_TARGET=fpm; export DOCKER_REGISTRY=prooph/; docker-compose build

export PHP_VERSION=8.0; export PHP_TARGET=zts; export DOCKER_REGISTRY=prooph/; docker-compose build
export PHP_VERSION=8.1; export PHP_TARGET=zts; export DOCKER_REGISTRY=prooph/; docker-compose build
export PHP_VERSION=8.2; export PHP_TARGET=zts; export DOCKER_REGISTRY=prooph/; docker-compose build
export PHP_VERSION=8.3; export PHP_TARGET=zts; export DOCKER_REGISTRY=prooph/; docker-compose build

docker-push:
export PHP_VERSION=8.0; export PHP_TARGET=cli; export DOCKER_REGISTRY=prooph/; docker-compose push
export PHP_VERSION=8.1; export PHP_TARGET=cli; export DOCKER_REGISTRY=prooph/; docker-compose push
export PHP_VERSION=8.2; export PHP_TARGET=cli; export DOCKER_REGISTRY=prooph/; docker-compose push
export PHP_VERSION=8.3; export PHP_TARGET=cli; export DOCKER_REGISTRY=prooph/; docker-compose push

export PHP_VERSION=8.0; export PHP_TARGET=fpm; export DOCKER_REGISTRY=prooph/; docker-compose push
export PHP_VERSION=8.1; export PHP_TARGET=fpm; export DOCKER_REGISTRY=prooph/; docker-compose push
export PHP_VERSION=8.2; export PHP_TARGET=fpm; export DOCKER_REGISTRY=prooph/; docker-compose push
export PHP_VERSION=8.3; export PHP_TARGET=fpm; export DOCKER_REGISTRY=prooph/; docker-compose push

export PHP_VERSION=8.0; export PHP_TARGET=zts; export DOCKER_REGISTRY=prooph/; docker-compose push
export PHP_VERSION=8.1; export PHP_TARGET=zts; export DOCKER_REGISTRY=prooph/; docker-compose push
export PHP_VERSION=8.2; export PHP_TARGET=zts; export DOCKER_REGISTRY=prooph/; docker-compose push
export PHP_VERSION=8.3; export PHP_TARGET=zts; export DOCKER_REGISTRY=prooph/; docker-compose push

docker-pull:
docker pull php:8.0-cli-alpine3.16
docker pull php:8.1-cli-alpine3.16
docker pull php:8.2-cli-alpine3.16
docker pull php:8.3-cli-alpine3.16
docker pull php:8.0-fpm-alpine3.16
docker pull php:8.1-fpm-alpine3.16
docker pull php:8.2-fpm-alpine3.16
docker pull php:8.3-fpm-alpine3.16
docker pull php:8.0-zts-alpine3.16
docker pull php:8.1-zts-alpine3.16
docker pull php:8.2-zts-alpine3.16
docker pull php:8.3-zts-alpine3.16

0 comments on commit ce945ee

Please sign in to comment.