diff --git a/.circleci/config.yml b/.circleci/config.yml index ec6a46b682e..0658fba42f7 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -70,6 +70,8 @@ references: (echo vcs_export && cat) >> checksum.txt sha256sum $PWD/checksum.txt >> checksum.txt apt-get update + rosdep update \ + --rosdistro=$ROS_DISTRO dependencies=$( rosdep install -q -y \ --from-paths src \ diff --git a/Dockerfile b/Dockerfile index 41864885202..81cedd7b5fd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -40,6 +40,7 @@ FROM $FROM_IMAGE AS builder RUN apt-get update && apt-get install -q -y \ ccache \ lcov \ + && rosdep update --rosdistro=$ROS_DISTRO \ && rm -rf /var/lib/apt/lists/* # TODO: clean up once libgazebo11-dev released into ros2 repo