From f2884579efcab8451aa47d8ec5e6455e4a648d9b Mon Sep 17 00:00:00 2001 From: Lennart Reiher Date: Thu, 7 Nov 2024 00:23:56 +0100 Subject: [PATCH] only install fastcdr for ubuntu22 --- docker/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 22375ca..c29b10c 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -223,7 +223,9 @@ RUN source /opt/ros/$ROS_DISTRO/setup.bash && \ if [[ "$RMW_IMPLEMENTATION" == "rmw_zenoh_cpp" ]]; then \ mkdir -p /opt/ws_rmw_zenoh/src && \ git clone https://github.com/ros2/rmw_zenoh.git /opt/ws_rmw_zenoh/src/rmw_zenoh && \ - git clone https://github.com/eProsima/Fast-CDR.git /opt/ws_rmw_zenoh/src/Fast-CDR && \ + if [[ "$UBUNTU_VERSION" == "22.04" ]]; then \ + git clone https://github.com/eProsima/Fast-CDR.git /opt/ws_rmw_zenoh/src/Fast-CDR ; \ + fi && \ rosdep init || true && \ rosdep update --rosdistro $ROS_DISTRO && \ apt-get update && \