Skip to content

Commit 70eae8e

Browse files
committed
Fix rosdep install execution
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. Signed-off-by: Marcos Huck <[email protected]>
1 parent 52da4cf commit 70eae8e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: src/benchmarks/beluga_vs_nav2/Earthfile

+3
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ build:
5353
WORKDIR /workspace
5454
RUN cd src && git clone https://github.com/Ekumen-OS/beluga
5555
COPY . src/beluga_vs_nav2
56+
USER root
57+
RUN rosdep fix-permissions
58+
USER ${USER}
5659
RUN . /etc/profile && apt update && rosdep update && \
5760
rosdep install -y -i --from-paths src -t build -t buildtool -t test \
5861
--skip-keys 'lambkin-shepherd lambkin-clerk' && \

0 commit comments

Comments
 (0)