Skip to content

Commit 30a9ccf

Browse files
committed
Refs #23043: Upgrade docker to jazzy
Signed-off-by: cferreiragonz <carlosferreira@eprosima.com>
1 parent eac365c commit 30a9ccf

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

.github/docker/vulcanexus/Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,15 @@ SHELL ["/bin/bash", "-c"]
1616
ARG docker_image_base
1717
RUN echo "Docker Base image used: ${docker_image_base}"
1818

19+
# Update ROS 2 keys (not updated in the base image as of June 2025)
20+
RUN rm /etc/apt/sources.list.d/ros2-latest.list && \
21+
curl -sSL https://raw.githubusercontent.com/ros/rosdistro/master/ros.key -o /usr/share/keyrings/ros-archive-keyring.gpg && \
22+
echo "deb [signed-by=/usr/share/keyrings/ros-archive-keyring.gpg] http://packages.ros.org/ros2/ubuntu $(lsb_release -cs) main" | tee /etc/apt/sources.list.d/ros2.list > /dev/null
23+
1924
# Install message interface and demo nodes required packages
2025
RUN source "/opt/vulcanexus/$VULCANEXUS_DISTRO/setup.bash" && \
2126
apt-get update && \
2227
apt-get install -y \
23-
ros-$VULCANEXUS_DISTRO-example-interfaces \
2428
ros-$VULCANEXUS_DISTRO-example-interfaces \
2529
ros-$VULCANEXUS_DISTRO-demo-nodes-cpp \
2630
ros-$VULCANEXUS_DISTRO-demo-nodes-py

.github/workflows/docker-reusable-workflow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ jobs:
8080
cd ./src/.github/docker/vulcanexus
8181
docker build \
8282
--no-cache \
83-
--build-arg docker_image_base=eprosima/vulcanexus:humble-core \
83+
--build-arg docker_image_base=eprosima/vulcanexus:jazzy-core \
8484
-t ${{ env.DDSROUTER_COMPOSE_TEST_ROS2_DOCKER_IMAGE }} \
8585
-f Dockerfile .
8686

ddsrouter_test/compose/scripts/execute_and_validate_listener.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def _listener_command(args):
7272
"""
7373
command = [
7474
'python3',
75-
'/opt/ros/humble/lib/demo_nodes_py/listener']
75+
'/opt/ros/jazzy/lib/demo_nodes_py/listener']
7676

7777
return command
7878

ddsrouter_test/compose/scripts/execute_and_validate_talker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def _talker_command(args):
6767
"""
6868
command = [
6969
'python3',
70-
'/opt/ros/humble/lib/demo_nodes_py/talker']
70+
'/opt/ros/jazzy/lib/demo_nodes_py/talker']
7171

7272
return command
7373

0 commit comments

Comments
 (0)