Prebuild nix releases used by containerbase/base.
Build the image
docker build -t builder --build-arg APT_HTTP_PROXY=http://apt-proxy:3142 .
Test the image
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 | <empty> |
DEBUG |
Show verbose nix build output | <empty> |