Skip to content

Commit

Permalink
rosdep update only for used distro
Browse files Browse the repository at this point in the history
fixes issues for distros which have gone EOL
  • Loading branch information
jpbusch authored Jun 23, 2023
1 parent 27bd978 commit 2b6c090
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 && \
Expand Down

0 comments on commit 2b6c090

Please sign in to comment.