2024-11-03 20:28:20 +00:00
|
|
|
version: "3"
|
|
|
|
|
|
|
|
tasks:
|
|
|
|
shell:
|
|
|
|
desc: Drop into a build shell
|
|
|
|
env:
|
|
|
|
app: "{{ .app }}"
|
|
|
|
cmds:
|
2024-11-10 09:28:01 +00:00
|
|
|
- nerdctl run -v "$(pwd)/apps/{{.app}}":/root/working-dir -w
|
|
|
|
/root/working-dir --platform linux/amd64 -it nixos-builder -c "nix
|
|
|
|
develop"
|
2024-11-03 20:28:20 +00:00
|
|
|
|
|
|
|
cache:
|
|
|
|
desc: Start an attic server
|
|
|
|
dir: "attic"
|
|
|
|
cmds:
|
2024-11-10 09:28:01 +00:00
|
|
|
- nerdctl run -it --rm --name=attic -p 8080:8080 -v
|
|
|
|
./config:/var/empty/.config/attic -v ./data:/var/empty/.local/share/attic
|
|
|
|
docker.io/heywoodlh/attic
|