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

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

Prebuild static nix binaries for containerbase
https://github.com/containerbase/nix-prebuild

containerbase nix

Last synced: about 2 months ago
JSON representation

Prebuild static nix binaries for containerbase

Awesome Lists containing this project

README

          

# containerbase nix releases

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

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

## Local development

Build the image

```bash
docker build -t builder --build-arg APT_HTTP_PROXY=http://apt-proxy:3142 .
```

Test the image

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

`${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 nix build output | `` |