Skip to content

Commit

Permalink
Removed: rosdep invocation
Browse files Browse the repository at this point in the history
  • Loading branch information
joseluizmendonca committed Nov 21, 2024
1 parent ede85cd commit c9c6739
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,8 @@ COPY ./src /root/ros2_ws/src
WORKDIR /root/ros2_ws

# Install dependencies and build
RUN /bin/bash -c "source /opt/ros/humble/setup.bash && \
rosdep install --from-paths src -y --ignore-src && \
colcon build --packages-select odrive_can"
RUN /bin/bash -c "source /opt/ros/humble/setup.bash"
RUN /bin/bash -c "colcon build --packages-select odrive_can"

# Source ROS in bashrc
RUN echo "source /opt/ros/humble/setup.bash" >> /root/.bashrc && \
Expand Down

0 comments on commit c9c6739

Please sign in to comment.