An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

# containerbase PHP releases

[![build](https://github.com/containerbase/php-prebuild/actions/workflows/build.yml/badge.svg)](https://github.com/containerbase/php-prebuild/actions/workflows/build.yml)
![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/containerbase/php-prebuild)
![License: MIT](https://img.shields.io/github/license/containerbase/php-prebuild)

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 | `` |