bind mount local nix store to containers
This commit is contained in:
@@ -23,6 +23,8 @@
|
|||||||
text = ''
|
text = ''
|
||||||
container:
|
container:
|
||||||
network: "host"
|
network: "host"
|
||||||
|
valid_volume:
|
||||||
|
- "/nix/store:/nix/store"
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
@@ -42,7 +44,6 @@
|
|||||||
};
|
};
|
||||||
volumes = [
|
volumes = [
|
||||||
"/var/run/docker.sock:/var/run/docker.sock"
|
"/var/run/docker.sock:/var/run/docker.sock"
|
||||||
"/nix/store:/nix/store"
|
|
||||||
"${runner_config}:/config.yml:ro"
|
"${runner_config}:/config.yml:ro"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user