generated from robmasocco/vscode_ros2_workspace
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yaml.template
52 lines (50 loc) · 1.31 KB
/
docker-compose.yaml.template
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
# DUA environment container management settings.
#
# Roberto Masocco <robmasocco@gmail.com>
# Intelligent Systems Lab <isl.torvergata@gmail.com>
#
# April 5, 2023
version: "3.9"
services:
SERVICE:
build:
context: ../
network: host
dockerfile: Dockerfile
args:
- USER_UID=1000
image: NAME:TARGET
environment:
TERM: xterm-256color
DISPLAY:
SHELL: /usr/bin/zsh
user: neo
network_mode: "host"
privileged: true
ipc: host
stdin_open: false
tty: true
working_dir: /home/neo/workspace
command:
[
"/bin/bash",
"-c",
"trap 'exit 0' TERM; sleep infinity & wait"
]
volumes:
- ../../../:/home/neo/workspace
- ../aliases.sh:/home/neo/.aliases.sh:rw
- ../bashrc:/home/neo/.bashrc:rw
- ../colcon-defaults.yaml:/home/neo/.colcon/defaults.yaml:rw
- ../commands.sh:/home/neo/.commands.sh:rw
- ../p10k.zsh:/home/neo/.p10k.zsh:rw
- ../ros2.sh:/home/neo/.ros2.sh:rw
- ../zshrc:/home/neo/.zshrc:rw
- ../zsh_history:/home/neo/zsh_history
- ~/.ssh:/home/neo/.ssh
- ~/.gitconfig:/home/neo/.gitconfig
- ~/.Xauthority:/home/neo/.Xauthority:rw
- /dev:/dev
- /sys:/sys
- /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro