-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
95 lines (92 loc) · 2.79 KB
/
Copy pathdocker-compose.yml
File metadata and controls
95 lines (92 loc) · 2.79 KB
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
services:
# Lightweight image for compiling and testing the solver.
quality:
build:
context: .
target: quality
volumes:
# Work directly against the checked-out source tree.
- type: bind
source: .
target: /home/developer/workspaces/fdtd
working_dir: /home/developer/workspaces/fdtd
tty: true
# Intel oneAPI compiler and Intel MPI environment for manual quality builds.
intel-quality:
build:
context: .
target: intel-quality
working_dir: /home/developer/workspaces/fdtd
stdin_open: true
tty: true
# Intel oneAPI development environment. It intentionally does not inherit
# from the GNU-based dev service or image.
intel-dev:
build:
context: .
target: intel-dev
volumes:
- type: bind
source: .
target: /home/developer/workspaces/fdtd
- type: bind
source: ${HOME}/.gitconfig
target: /home/developer/.gitconfig
- type: bind
source: ${HOME}/.ssh
target: /home/developer/.ssh
read_only: true
- type: bind
source: ${HOME}/.config/gh
target: /home/developer/.config/gh
- type: bind
source: ${HOME}/.config/opencode
target: /home/developer/.config/opencode
- type: bind
source: ${HOME}/.agents
target: /home/developer/.agents
read_only: true
- type: bind
source: ${HOME}/.local/share/opencode
target: /home/developer/.local/share/opencode
working_dir: /home/developer/workspaces/fdtd
cap_add:
- SYS_PTRACE
security_opt:
- seccomp:unconfined
stdin_open: true
tty: true
# Interactive development image with source-control and OpenCode tooling.
dev:
build:
context: .
target: dev
volumes:
- type: bind
source: .
target: /home/developer/workspaces/fdtd
# Use the host Git identity and SSH keys for authenticated Git operations.
- type: bind
source: ${HOME}/.gitconfig
target: /home/developer/.gitconfig
- type: bind
source: ${HOME}/.ssh
target: /home/developer/.ssh
read_only: true
- type: bind
source: ${HOME}/.config/gh
target: /home/developer/.config/gh
# Share local OpenCode configuration and agent resources with the container.
- type: bind
source: ${HOME}/.config/opencode
target: /home/developer/.config/opencode
- type: bind
source: ${HOME}/.agents
target: /home/developer/.agents
read_only: true
# Keep OpenCode's local data available between disposable containers.
- type: bind
source: ${HOME}/.local/share/opencode
target: /home/developer/.local/share/opencode
working_dir: /home/developer/workspaces/fdtd
tty: true