Skip to content

Commit 2c05967

Browse files
committed
fix(docker): include all ros2_medkit dependencies
The gateway requires additional packages: - ros2_medkit_serialization (JSON/ROS message conversion) - ros2_medkit_msgs (custom messages) - dynmsg (dynamic message introspection) Also add ros-jazzy-yaml-cpp-vendor to apt dependencies.
1 parent fa254ed commit 2c05967

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

demos/sensor_diagnostics/Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ RUN apt-get update && apt-get install -y \
1414
ros-jazzy-ament-lint-auto \
1515
ros-jazzy-ament-lint-common \
1616
ros-jazzy-ament-cmake-gtest \
17+
ros-jazzy-yaml-cpp-vendor \
1718
python3-colcon-common-extensions \
1819
python3-requests \
1920
nlohmann-json3-dev \
@@ -23,10 +24,13 @@ RUN apt-get update && apt-get install -y \
2324
jq \
2425
&& rm -rf /var/lib/apt/lists/*
2526

26-
# Clone ros2_medkit from GitHub (gateway only)
27+
# Clone ros2_medkit from GitHub (gateway + dependencies)
2728
WORKDIR ${COLCON_WS}/src
2829
RUN git clone --depth 1 https://github.com/selfpatch/ros2_medkit.git && \
2930
mv ros2_medkit/src/ros2_medkit_gateway . && \
31+
mv ros2_medkit/src/ros2_medkit_serialization . && \
32+
mv ros2_medkit/src/ros2_medkit_msgs . && \
33+
mv ros2_medkit/src/dynamic_message_introspection/dynmsg . && \
3034
rm -rf ros2_medkit
3135

3236
# Copy demo package

0 commit comments

Comments
 (0)