https://github.com/kitechsoftware/gcr-php
PHP container images
https://github.com/kitechsoftware/gcr-php
docker php php8 php83 php84 podman
Last synced: 7 months ago
JSON representation
PHP container images
- Host: GitHub
- URL: https://github.com/kitechsoftware/gcr-php
- Owner: KiTechSoftware
- Created: 2025-01-17T00:32:58.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-27T06:15:40.000Z (11 months ago)
- Last Synced: 2025-04-27T07:47:24.972Z (11 months ago)
- Topics: docker, php, php8, php83, php84, podman
- Language: Dockerfile
- Homepage:
- Size: 45.9 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PHP Image
## Supported Versions
- PHP 8.3
- PHP 8.4 (also tagged as `latest`)
## Supported Base Images
- Debian Bookworm Slim
## Deprecated
- Alpine-based images
- CLI-based images
## Development & Testing
For easier local builds and testing, the repository now includes both a **Taskfile** and a **Makefile**.
### Using Taskfile
Install [Task](https://taskfile.dev/#/installation) if you haven't already, then:
```bash
# Build the image (defaults to PHP 8.4)
task build
# Run the image locally (exposes port 9000)
task run
# Push the image manually
task push
# Clean local built images
task clean
# Specify a different PHP version (8.3 for example)
PHP_VERSION=8.3 task build
```
### Using Makefile
Alternatively, you can use `make`:
```bash
# Build the image
make build
# Run the image locally
make run
# Push the image manually
make push
# Clean the local built image
make clean
# Specify a different PHP version
make build PHP_VERSION=8.3
```
---
## Notes
The PHP image now exclusively supports **Debian Bookworm Slim**.
Alpine and CLI variants are no longer maintained.
If you're transitioning from previous versions, ensure compatibility with the latest Debian-based setup.
The `8.4` version is also tagged as `latest`, meaning you can pull either `:8.4` or `:latest` interchangeably.
> This repository builds and publishes multi-architecture images (`linux/amd64`, `linux/arm64`) using GitHub Actions and Docker Buildx.
---