Skip to content

Commit

Permalink
feat(turtlebot3_ws): Add apt dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
j3soon committed Oct 24, 2024
1 parent e98f5ff commit 7c8f4ac
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions turtlebot3_ws/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,20 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=private \
&& sudo rm -rf /var/lib/apt/lists/*

# TODO: Add more commands here

# Install TurtleBot3 dependencies
# Ref: https://emanual.robotis.com/docs/en/platform/turtlebot3/quick-start/
RUN --mount=type=cache,target=/var/cache/apt,sharing=private \
sudo apt-get update && sudo apt-get install -y \
ros-$ROS_DISTRO-gazebo-* \
ros-$ROS_DISTRO-cartographer \
ros-$ROS_DISTRO-cartographer-ros \
ros-$ROS_DISTRO-navigation2 \
ros-$ROS_DISTRO-nav2-bringup \
ros-$ROS_DISTRO-dynamixel-sdk \
ros-$ROS_DISTRO-turtlebot3-msgs \
&& sudo rm -rf /var/lib/apt/lists/*

COPY .bashrc /home/$USERNAME/.bashrc
# TODO: Copy additional files here
ENTRYPOINT []
Expand Down

0 comments on commit 7c8f4ac

Please sign in to comment.