Skip to content

Commit

Permalink
Enabled jazzy-latest docker
Browse files Browse the repository at this point in the history
  • Loading branch information
matlabbe committed Jun 4, 2024
1 parent 4a5430c commit 12489b3
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 3 deletions.
12 changes: 11 additions & 1 deletion .github/workflows/docker-ros2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:

strategy:
matrix:
docker_tag: [humble, humble-latest, iron, iron-latest]
docker_tag: [humble, humble-latest, iron, iron-latest, jazzy-latest]
include:
- docker_tag: humble
docker_path: 'humble'
Expand All @@ -30,6 +30,16 @@ jobs:
docker_path: 'iron/latest'
docker_platforms: |
linux/amd64
# Re-add "jazzy" after binaries are released
# - docker_tag: jazzy
# docker_path: 'jazzy'
# docker_platforms: |
# linux/amd64
- docker_tag: jazzy-latest
docker_path: 'jazzy/latest'
docker_platforms: |
linux/amd64
linux/arm64
steps:
-
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/ros2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@ jobs:
ubuntu_distro: 'jammy'
- ros_distro: 'iron'
ubuntu_distro: 'jammy'
- ros_distro: 'jazzy'
ubuntu_distro: 'noble'
# Disabled as there still missing dependencies on jazzy:
# - ros_distro: 'jazzy'
# ubuntu_distro: 'noble'
fail-fast: false
container:
image: rostooling/setup-ros-docker:ubuntu-${{ matrix.ubuntu_distro }}-ros-${{ matrix.ros_distro }}-desktop-latest
Expand Down
7 changes: 7 additions & 0 deletions docker/jazzy/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FROM osrf/ros:jazzy-desktop
# install rtabmap packages
ARG CACHE_DATE=2016-01-01
RUN apt-get update && apt-get install -y \
ros-jazzy-rtabmap \
ros-jazzy-rtabmap-ros \
&& rm -rf /var/lib/apt/lists/
20 changes: 20 additions & 0 deletions docker/jazzy/latest/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
FROM introlab3it/rtabmap:24.04

RUN source /ros_entrypoint.sh && \
mkdir -p ros2_ws/src && \
cd ros2_ws/src

COPY . ros2_ws/src/rtabmap_ros

RUN source /ros_entrypoint.sh && \
cd ros2_ws && \
export MAKEFLAGS="-j1" && \
rosdep init && \
rosdep update && \
apt-get update && \
rosdep install --from-paths src --ignore-src -r -y -t build_export -t test -t build -t buildtool_export -t buildtool --skip-keys="nav2_bringup realsense2_camera nav2_msgs grid_map_ros" && \
apt remove ros-$ROS_DISTRO-rtabmap* -y && \
apt-get clean && rm -rf /var/lib/apt/lists/ && \
colcon build --event-handlers console_direct+ --install-base /opt/ros/$ROS_DISTRO --merge-install --cmake-args -DRTABMAP_SYNC_MULTI_RGBD=ON -DCMAKE_BUILD_TYPE=Release && \
cd && \
rm -rf ros2_ws

0 comments on commit 12489b3

Please sign in to comment.