Skip to content

Commit

Permalink
Run rosdep update in Dockerfile and CI (#1751)
Browse files Browse the repository at this point in the history
So we don't have to wait for the nightly parent image to update rosdep
  • Loading branch information
ruffsl authored May 18, 2020
1 parent f510bbc commit 5a35677
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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/*

# install underlay dependencies
Expand Down

0 comments on commit 5a35677

Please sign in to comment.