diff --git a/docker/Dockerfile b/docker/Dockerfile index 073e8f2..599b65a 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -62,7 +62,7 @@ RUN /usr/local/bin/recursive_vcs_import.py src src/upstream RUN echo "set -e" >> $WORKSPACE/.install-dependencies.sh && \ apt-get update && \ rosdep init || true && \ - rosdep update && \ + rosdep update --rosdistro ${ROS_DISTRO} && \ export OS="ubuntu:$(lsb_release -c | awk '{print $2}')" && \ if [[ "$ROS_DISTRO" = "rolling" && "$OS" = "ubuntu:focal" ]]; then export OS="ubuntu:jammy"; fi && \ set -o pipefail && \