From 516276e784b1b41136a04366e23bb5a7c2909440 Mon Sep 17 00:00:00 2001 From: hrjp Date: Tue, 5 Mar 2024 15:31:00 +0900 Subject: [PATCH] fix humble key --- docker/ros2_humble/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/ros2_humble/Dockerfile b/docker/ros2_humble/Dockerfile index cd8fd04..7e43a64 100644 --- a/docker/ros2_humble/Dockerfile +++ b/docker/ros2_humble/Dockerfile @@ -27,8 +27,8 @@ RUN touch /etc/apt/apt.conf.d/99fixbadproxy && \ RUN apt update && apt install -y curl gnupg2 lsb-release tmux vim git wget python3-pip liburdfdom-tools lsb-release bash-completion nautilus nvidia-cuda-toolkit && \ echo "source /etc/bash_completion" >> /root/.bashrc &&\ - curl -s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc | apt-key add - && \ - sh -c 'echo "deb [arch=$(dpkg --print-architecture)] http://packages.ros.org/ros2/ubuntu $(lsb_release -cs) main" > /etc/apt/sources.list.d/ros2-latest.list' && \ + sudo curl -sSL https://raw.githubusercontent.com/ros/rosdistro/master/ros.key -o /usr/share/keyrings/ros-archive-keyring.gpg && \ + echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/ros-archive-keyring.gpg] http://packages.ros.org/ros2/ubuntu $(. /etc/os-release && echo $UBUNTU_CODENAME) main" | sudo tee /etc/apt/sources.list.d/ros2.list > /dev/null && \ apt update