-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrobot-compose.yml
More file actions
37 lines (32 loc) · 798 Bytes
/
robot-compose.yml
File metadata and controls
37 lines (32 loc) · 798 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
29
30
31
32
33
34
35
36
37
services:
sgptools:
image: itskalvik/sgp-tools:0.0.3
build:
context: ./
platforms:
- "linux/arm64"
- "linux/amd64"
dockerfile: robot-docker/Dockerfile
args:
- ROS_DISTRO=jazzy
# Enabling GPU access with Compose
# https://docs.docker.com/compose/gpu-support/
# deploy:
# resources:
# reservations:
# devices:
# - capabilities: [gpu]
# count: all
environment:
# Set a fancy prompt (See ~/.bashrc in the container)
- TERM=xterm-256color
volumes:
- ./ros2_ws/src:/root/ros2_ws/src
- /dev:/dev
- /var/run/dbus:/var/run/dbus
ports:
- "4717:4717"
#network_mode: host
privileged: true
tty: true
stdin_open: true