From fc45ea207af66b6409e7243467d72836bb751d0b Mon Sep 17 00:00:00 2001 From: Julian Arkenau Date: Tue, 19 Sep 2023 08:11:57 +0000 Subject: [PATCH] add stage for installing turtlebot4 packages --- .devcontainer/Dockerfile | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 6c214e3..42ed986 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -117,6 +117,18 @@ ENV NVIDIA_VISIBLE_DEVICES all ENV NVIDIA_DRIVER_CAPABILITIES graphics,utility,compute ENV QT_X11_NO_MITSHM 1 +FROM gazebo-nvidia AS turtlebot4 + +# install turtlebot packages +RUN apt-get update && apt-get install -qq -y --no-install-recommends \ + ros-humble-turtlebot4-bringup \ + ros-humble-turtlebot4-description \ + ros-humble-turtlebot4-msgs \ + ros-humble-turtlebot4-navigation \ + ros-humble-turtlebot4-node \ + ros-humble-turtlebot4-simulator \ + && rm -rf /var/lib/apt/lists/* + ARG WORKSPACE RUN echo "if [ -f ${WORKSPACE}/install/setup.bash ]; then source ${WORKSPACE}/install/setup.bash; fi" >> /home/${USERNAME}/.bashrc