forked from lucernae/devcontainer-nix
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.build.yml
More file actions
29 lines (28 loc) · 921 Bytes
/
Copy pathdocker-compose.build.yml
File metadata and controls
29 lines (28 loc) · 921 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# generated using arion, do not edit manually. Override using docker-compose.override.yml
services:
devcontainer:
cap_add:
- CAP_NET_ADMIN
- SYS_ADMIN
environment:
LD_LIBRARY_PATH: /lib:/run/current-system/sw/lib
PATH: /bin:/usr/bin:/run/current-system/sw/bin/
container: docker
hostname: devcontainer
image: ghcr.io/lucernae/devcontainer-nix:nixos-arion
privileged: true
stop_signal: SIGRTMIN+3
sysctls: {}
tmpfs:
- /run
- /run/wrappers
# You can enable tmpfs in local vscode, but GitHub Codespace doesn't like this.
# - /tmp:exec,mode=777
tty: true
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:rw
- ../../:/workspace:cached
- ../nixos/configuration.nix:/etc/nixos/configuration.nix:rw
- ../nixos/devcontainer-patch.nix:/etc/nixos/devcontainer-patch.nix:rw
- /var/run/docker.sock:/var/run/docker.sock:rw
version: '3.4'