diff --git a/docker/Dockerfile b/docker/Dockerfile index c29b10c..757c9ba 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -223,7 +223,7 @@ 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 && \ - if [[ "$UBUNTU_VERSION" == "22.04" ]]; then \ + if [[ "$(lsb_release -r | awk '{print $2}')" == "22.04" ]]; then \ git clone https://github.com/eProsima/Fast-CDR.git /opt/ws_rmw_zenoh/src/Fast-CDR ; \ fi && \ rosdep init || true && \