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

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

Prebuild NodeJS for containerbase
https://github.com/containerbase/node-prebuild

Last synced: 3 months ago
JSON representation

Prebuild NodeJS for containerbase

Awesome Lists containing this project

README

          

# containerbase NodeJS releases

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

Prebuild NodeJS releases used by [containerbase/base](https://github.com/containerbase/base).

## Local development

Build the image

```bash
docker build -t builder .
```

Test the image

```bash
docker run --rm -it -v ${PWD}/.cache:/cache -e DEBURG=true builder 18.0.0
```

`${PWD}/.cache` will contain packed releases after successful build.

Optional environment variables

| Name | Description | Default |
| ---------------- | ----------------------------------------------- | --------- |
| `APT_HTTP_PROXY` | Set an APT http proxy for installing build deps | `` |
| `DEBUG` | Show verbose php build output | `` |