Skip to content

Commit

Permalink
Add Gazebo Garden install
Browse files Browse the repository at this point in the history
Signed-off-by: Christopher Strøm <[email protected]>
  • Loading branch information
Christopher Strøm committed Jul 27, 2024
1 parent 1e77a95 commit aefc11c
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
FROM ros:humble-perception

RUN ln -sf /bin/bash /bin/sh # Default to using bash > sh
RUN DEBIAN_FRONTEND=noninteractive

# Default to using bash > sh
RUN ln -sf /bin/bash /bin/sh

# Install Gazebo Garden
RUN apt-get update && apt-get install -y lsb-release curl gnupg
RUN curl https://packages.osrfoundation.org/gazebo.gpg --output /usr/share/keyrings/pkgs-osrf-archive-keyring.gpg
RUN echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/pkgs-osrf-archive-keyring.gpg] http://packages.osrfoundation.org/gazebo/ubuntu-stable $(lsb_release -cs) main" | tee /etc/apt/sources.list.d/gazebo-stable.list > /dev/null
RUN apt-get update && apt-get install gz-garden python3-sdformat13 ros-humble-ros-gzgarden ros-humble-xacro

WORKDIR /ros_ws

Expand Down

0 comments on commit aefc11c

Please sign in to comment.