You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
593 B
25 lines
593 B
version: '3'
|
|
services:
|
|
devcontainer:
|
|
volumes:
|
|
- ..:/workspace:cached
|
|
- /tmp/.X11-unix:/tmp/.X11-unix:rw
|
|
- /mnt/wslg:/mnt/wslg
|
|
- /root/.gazebo/models/:/root/.gazebo/models/
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
- $HOME/.Xauthority:/tmp/.Xauthority:rw
|
|
environment:
|
|
- DISPLAY=${DISPLAY}
|
|
- XAUTHORITY=/tmp/.Xauthority
|
|
|
|
cap_add:
|
|
- SYS_PTRACE
|
|
command: /bin/sh -c "while sleep 1000; do :; done"
|
|
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile.devcontainer
|
|
|
|
privileged: true
|
|
network_mode: "host"
|
|
|