Skip to content

Commit

Permalink
Fix rosdep install execution
Browse files Browse the repository at this point in the history
Running rosdep update and rosdep install returns a permission denied error as described in #114. This prevented the release target to be executed.

Adding a `rosdep fix-permissions` instruction to be run in sudo mode fixes the issue.
  • Loading branch information
marcoshuck committed Oct 26, 2024
1 parent 52da4cf commit 4239e28
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/benchmarks/beluga_vs_nav2/Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ build:
WORKDIR /workspace
RUN cd src && git clone https://github.com/Ekumen-OS/beluga
COPY . src/beluga_vs_nav2
USER root
RUN rosdep fix-permissions
USER ${USER}
RUN . /etc/profile && apt update && rosdep update && \
rosdep install -y -i --from-paths src -t build -t buildtool -t test \
--skip-keys 'lambkin-shepherd lambkin-clerk' && \
Expand Down

0 comments on commit 4239e28

Please sign in to comment.