https://github.com/containerbase/php-prebuild
containerbase PHP releases
https://github.com/containerbase/php-prebuild
containerbase docker php renovate
Last synced: 3 months ago
JSON representation
containerbase PHP releases
- Host: GitHub
- URL: https://github.com/containerbase/php-prebuild
- Owner: containerbase
- License: mit
- Created: 2021-03-22T06:05:14.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2026-03-05T10:45:36.000Z (4 months ago)
- Last Synced: 2026-03-05T14:47:35.123Z (4 months ago)
- Topics: containerbase, docker, php, renovate
- Language: Shell
- Homepage: https://github.com/containerbase/base
- Size: 1.3 MB
- Stars: 1
- Watchers: 0
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# containerbase PHP releases
[](https://github.com/containerbase/php-prebuild/actions/workflows/build.yml)


Prebuild PHP releases used by [containerbase/base](https://github.com/containerbase/base).
## Local development
Build the image
```bash
docker build -t builder --build-arg APT_PROXY=http://apt-proxy:3142 --build-arg DISTRO=focal .
```
Test the image
```bash
docker run --rm -it -v ${PWD}/.cache:/cache -e DEBURG=true builder 8.0.3
```
`${PWD}/.cache` will contain packed releases after successful build.
Optional environment variables
| Name | Description | Default |
| ----------- | ------------------------------------------------------------ | --------- |
| `DISTRO` | Set an ubuntu base distro, `focal` and `jammy` are supported | `focal` |
| `APT_PROXY` | Set an APT http proxy for installing build deps | `` |
| `DEBUG` | Show verbose php build output | `` |