mirror of
https://gitlab.com/TECHNOFAB/nix-gitlab-ci.git
synced 2025-12-12 02:00:13 +01:00
feat!: add daemon to build & especially cache
This commit is contained in:
parent
bd1cfe94a4
commit
92f3560899
12 changed files with 93 additions and 17 deletions
10
daemon/Dockerfile
Normal file
10
daemon/Dockerfile
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
FROM nixos/nix:latest
|
||||
|
||||
RUN nix-env -iA nixpkgs.mount
|
||||
|
||||
VOLUME "/mnt/nix/store"
|
||||
|
||||
COPY entrypoint.sh /usr/local/bin/
|
||||
COPY nix.conf /etc/nix/nix.conf
|
||||
|
||||
ENTRYPOINT ["/bin/sh", "/usr/local/bin/entrypoint.sh"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue