Skip to content

Commit 6bb6d52

Browse files
j-riveroJose Luis Rivero
authored andcommitted
Use a workaround to avoid ROS 2 key deprecation
Signed-off-by: Jose Luis Rivero <jrivero@honurobotics.com>
1 parent 2a0726e commit 6bb6d52

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

docker/Dockerfile.base

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,19 @@
11
# Ubuntu 24.04
22
FROM osrf/ros:jazzy-desktop-full AS vrx-base
33

4+
# Workaround from https://discourse.ros.org/t/ros-signing-key-migration-guide/43937
5+
RUN rm /etc/apt/sources.list.d/ros2-latest.list \
6+
&& rm /usr/share/keyrings/ros2-latest-archive-keyring.gpg
7+
8+
RUN apt-get update \
9+
&& apt-get install -y ca-certificates curl
10+
11+
RUN export ROS_APT_SOURCE_VERSION=$(curl -s https://api.github.com/repos/ros-infrastructure/ros-apt-source/releases/latest | grep -F "tag_name" | awk -F\" '{print $4}') ;\
12+
curl -L -s -o /tmp/ros2-apt-source.deb "https://github.com/ros-infrastructure/ros-apt-source/releases/download/${ROS_APT_SOURCE_VERSION}/ros2-apt-source_${ROS_APT_SOURCE_VERSION}.$(. /etc/os-release && echo $VERSION_CODENAME)_all.deb" \
13+
&& apt-get update \
14+
&& apt-get install /tmp/ros2-apt-source.deb \
15+
&& rm -f /tmp/ros2-apt-source.deb
16+
417
ENV DEBIAN_FRONTEND=noninteractive
518

619
# Setup timezone

0 commit comments

Comments
 (0)