Skip to content

Commit b0a2df4

Browse files
yconstclaude
andcommitted
Switch to ros:humble-desktop image with all build tools
ros:humble-ros-base is too minimal and missing many build dependencies (rosidl, typesupport, etc). Using ros:humble-desktop image which includes all necessary build tools and eliminates dependency issues. Simplified installation instructions accordingly. Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 3688f8d commit b0a2df4

3 files changed

Lines changed: 3 additions & 8 deletions

File tree

README.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ cd ~/Tinymovr-ROS # Or wherever you cloned the repo
113113
./docker_run.sh
114114
```
115115

116-
This starts a persistent container named `tinymovr_ros2` with Ubuntu + ROS 2 Humble.
116+
This starts a persistent container named `tinymovr_ros2` with Ubuntu + ROS 2 Humble Desktop (includes all build tools).
117117

118118
#### 3. Enter Container and Build
119119

@@ -123,14 +123,9 @@ docker exec -it tinymovr_ros2 bash
123123

124124
# Inside container: Install dependencies
125125
apt update && apt install -y \
126-
python3-pip \
127-
python3-colcon-common-extensions \
128-
python3-ament-package \
129126
iproute2 \
130127
ros-humble-ros2-control \
131128
ros-humble-ros2-controllers \
132-
ros-humble-xacro \
133-
ros-humble-robot-state-publisher \
134129
ros-humble-teleop-twist-keyboard
135130

136131
# Build your robot package

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
services:
22
ros2:
3-
image: ros:humble-ros-base
3+
image: ros:humble-desktop
44
container_name: tinymovr_ros2
55
privileged: true
66
network_mode: host

docker_run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ echo "Container started. To enter the container:"
3232
echo " docker exec -it tinymovr_ros2 bash"
3333
echo ""
3434
echo "Once inside, build and run your robot:"
35-
echo " apt update && apt install -y python3-pip python3-colcon-common-extensions python3-ament-package iproute2 ros-humble-ros2-control ros-humble-ros2-controllers ros-humble-xacro ros-humble-robot-state-publisher ros-humble-teleop-twist-keyboard"
35+
echo " apt update && apt install -y iproute2 ros-humble-ros2-control ros-humble-ros2-controllers ros-humble-teleop-twist-keyboard"
3636
echo " cd /workspace"
3737
echo " source /opt/ros/humble/setup.bash"
3838
echo " colcon build --packages-select tinymovr_ros"

0 commit comments

Comments
 (0)