db1d565b64
Integration Tests / melodic (push) Has been cancelled
Integration Tests / noetic (push) Has been cancelled
Integration Tests / humble (push) Has been cancelled
Integration Tests / jazzy (push) Has been cancelled
Ruff Lint & Format / ruff (push) Has been cancelled
Sync main to develop / Check if sync is needed (push) Has been cancelled
Sync main to develop / Sync main to develop (push) Has been cancelled
21 lines
622 B
YAML
21 lines
622 B
YAML
services:
|
|
turtlesim:
|
|
build:
|
|
context: ./docker
|
|
dockerfile: Dockerfile.turtlesim
|
|
container_name: ros2-turtlesim
|
|
environment:
|
|
- DISPLAY=${DISPLAY}
|
|
- ROS_DISTRO=humble
|
|
- QT_X11_NO_MITSHM=1
|
|
volumes:
|
|
# Mount launch file into the container
|
|
- ./launch_turtlesim.launch.py:/ros2_ws/launch/launch_turtlesim.launch.py:ro
|
|
# Linux X11 socket (only works on Linux)
|
|
- /tmp/.X11-unix:/tmp/.X11-unix:rw
|
|
ports:
|
|
- "9090:9090"
|
|
stdin_open: true
|
|
tty: true
|
|
command: ["ros2", "launch", "/ros2_ws/launch/launch_turtlesim.launch.py"]
|