Skip to content

Commit 4563cb6

Browse files
authored
added humble-harmonic (#19)
* added humble-harmonic * updated readme for humble-harmonic * updated suggested changes
1 parent 2420e6c commit 4563cb6

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ The following Docker images are available:
99
* `humble`: Based on `ubuntu:jammy`, this image includes ROS 2 Humble Hawksbill packages and a non-root user for enhanced security.
1010
* `humble-garden`: Extends the `humble` image and includes Gazebo Garden, a powerful 3D robotics simulator.
1111
* `humble-fortress`: Extends the `humble` image and includes Gazebo Fortress, which is the LTS and default sim for `humble`.
12+
* `humble-harmonic`: Extends the `humble` image and includes Gazebo Harmonic, which works better with `humble` related deps. Hence this is **Recommended**.
1213
* `iron`: Based on `ubuntu:jammy`, this image includes ROS 2 Iron Irwini packages and a non-root user.
1314
* `iron-garden`: Extends the `iron` image and includes Gazebo Garden.
1415
* `noetic`: Based on `ubuntu:focal`, this image includes ROS Noetic Ninjemys packages and a non-root user.

humble-harmonic/Dockerfile

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
####################################
2+
# Ubuntu ROS2 Humble Gazebo Harmonic
3+
####################################
4+
5+
FROM ghcr.io/soham2560/humble:latest AS base
6+
7+
# Environment setup
8+
ENV GZ_VERSION=harmonic
9+
10+
# install necessary tools
11+
RUN sudo apt-get update && sudo apt-get install --no-install-recommends -y \
12+
curl \
13+
lsb-release \
14+
wget \
15+
gnupg \
16+
&& sudo rm -rf /var/lib/apt/lists/*
17+
18+
# Install gazebo harmonic from osrf
19+
RUN sudo curl https://packages.osrfoundation.org/gazebo.gpg --output /usr/share/keyrings/pkgs-osrf-archive-keyring.gpg \
20+
&& 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" | sudo tee /etc/apt/sources.list.d/gazebo-stable.list > /dev/null \
21+
&& sudo apt-get -qq update \
22+
&& sudo xargs apt-get install -y gz-harmonic \
23+
&& sudo rm -rf /var/lib/apt/lists/*
24+
25+
RUN sudo apt-get update && sudo apt-get install -y ros-humble-ros-gzharmonic

0 commit comments

Comments
 (0)