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

https://github.com/containerbase/python-prebuild

containerbase Python releases
https://github.com/containerbase/python-prebuild

containerbase docker python renovate

Last synced: 6 months ago
JSON representation

containerbase Python releases

Awesome Lists containing this project

README

          

# containerbase Python releases

[![build](https://github.com/containerbase/python-prebuild/actions/workflows/build.yml/badge.svg)](https://github.com/containerbase/python-prebuild/actions/workflows/build.yml?query=branch%3Amain)
![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/containerbase/python-prebuild)
![License: MIT](https://img.shields.io/github/license/containerbase/python-prebuild)

Prebuild Python 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 3.9.1
```

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