ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I found you can also write a script and execute it in the instruction. For example:

#!/bin/bash
source /opt/ros/"${ROS_DISTRO}"/setup.bash
colcon build

and inside the docker file RUN build.sh