The builder compoment of the Iglu project. It's a simple nix builder that can be used to build and push derivations to a cachix compatible Cache. (Iglu Cache)
Normally you don't have to setup the builder manually. The Iglu Controller spins up new builder each time it starts a job. If you want to spin up a builder manually anyway then you can use:
docker run --rm ghcr.io/iglu-sh/iglu-builder:latest
Documentation of the build could be found here.
For development you need a working installation of Bun.
The simplest way to get a working development-environment is to us nix develop
at the top of the repository.
IMPORTANT: If you want to build the docker image you have to run nix build .#iglu-builder-docker && docker load < result
.
bun install
bun run prod
This project was created using bun init
in bun v1.2.12. Bun is a fast all-in-one JavaScript runtime.