This container provides a reproducible environment for the "ROS 2 Testing: A Practical Survival Guide" workshop, based on the ros:jazzy-ros-core image.
It includes development tools, linters, Google Test/Mock, and all the necessary utilities to follow the exercises (using rosdep to install all the dependencies).
You can either build the image locally or pull it directly from DockerHub.
The prebuilt image is available at:
docker pull ekumenlabs/ros2-testing-workshop-roscon-es-25:jazzyThis is the easiest and fastest option.
To build the image, use the build.sh script provided in this repository:
./docker/build.shOr, if the user wants to build the image and run the container directly, the run.sh script can be used with the corresponding flag:
./docker/run.sh --buildIt's possible to get information about the available flags for both scripts using the --help or -h option:
./docker/build.sh --help
./docker/run.sh --helpOnce the container is started, the entrypoint is located at the root of the ROS 2 workspace (~/ws).
After exiting the container, the user will be asked whether to save the changes back to the image (internally performing a docker commit).
To open another terminal connected to the same container, use the helper script join.sh:
./docker/join.shBy default, the script opens an interactive bash session inside the running container named ros2-testing-workshop-roscon-es-25-container. A different container name or command can be specified; use the -h flag for details.