-
Notifications
You must be signed in to change notification settings - Fork 339
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide a docker image #349
Labels
enhancement
New feature or request
Comments
Would be helpful to have this to run on GitLab-CI. |
For now I'm using stages:
- build
image: nixos/nix:latest
build-cli:
stage: build
script:
- nix develop --experimental-features 'nix-command flakes' --impure --command bash "run-hooks"
- nix develop --experimental-features 'nix-command flakes' --impure --command bash "build"
tags:
- docker |
I've used this image: FROM nixos/nix
# Install Cachix, devenv and remove unnecessary data
RUN nix-env -iA cachix -f https://cachix.org/api/v1/install \
&& cachix use devenv \
&& nix-env -if https://install.devenv.sh/latest \
&& nix-collect-garbage --delete-old \
&& nix-store --optimise |
I'm going to add docs to close this. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The text was updated successfully, but these errors were encountered: