Files
docker-mods-uptime-kuma-tim…/root/etc/cont-init.d/98-ros2
T
2023-01-03 09:08:17 +01:00

9 lines
290 B
Plaintext
Executable File

#!/usr/bin/with-contenv bash
echo "**** Installing ros2 and ros dev tools"
apt-get install -y \
ros-humble-ros-base \
ros-dev-tools
echo "**** Automatically sourcing ROS2 ****"
printf "\n# Automatically source ROS2 humble\nsource /opt/ros/humble/setup.bash" >> /config/.bashrc