Skip to content

Commit

Permalink
test docker1
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven Shen committed Aug 6, 2024
1 parent 1fc1763 commit b5f30ac
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ RUN apt-get update && apt-get install -y \
libyaml-cpp-dev \
&& rm -rf /var/lib/apt/lists/*

RUN rosdep init \
# Only run rosdep init if it hasn't been initialized
RUN if [ ! -f /etc/ros/rosdep/sources.list.d/20-default.list ]; then \
rosdep init; \
fi \
&& rosdep update

WORKDIR /catkin_ws
Expand Down

0 comments on commit b5f30ac

Please sign in to comment.