2019-03-03 23:42:40 +01:00
|
|
|
|
|
|
|
= Installation
|
|
|
|
|
|
|
|
== Imperative installation, bleeding edge
|
|
|
|
|
|
|
|
```
|
|
|
|
git clone git@github.com:hercules-ci/arion.git
|
|
|
|
cd arion
|
|
|
|
nix-env -iA arion -f .
|
|
|
|
```
|
|
|
|
|
|
|
|
// TODO: replace the above with something like below
|
|
|
|
////
|
|
|
|
|
|
|
|
== Not installing: use it in a project
|
|
|
|
|
|
|
|
TODO: describe: using nix-shell or in a script, building images as
|
|
|
|
part of nix-build, pinning, see also todomvc-nix.
|
|
|
|
|
2019-03-26 14:06:50 +01:00
|
|
|
TODO: exposed Nix functions: arion.build, arion.eval (a bit of IFD)
|
|
|
|
|
2019-03-03 23:42:40 +01:00
|
|
|
== Mac or traditional Linux
|
|
|
|
|
|
|
|
```
|
|
|
|
nix-env -iA nixpkgs.arion
|
|
|
|
```
|
|
|
|
|
|
|
|
== NixOS
|
|
|
|
|
|
|
|
Add this module to your NixOS configuration:
|
|
|
|
|
|
|
|
```
|
|
|
|
{ pkgs, ... } {
|
|
|
|
virtualisation.docker.enable = true;
|
|
|
|
environment.systemPackages = [ pkgs.arion ];
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
////
|