Skip to content

Commit ba1d185

Browse files
committed
Disable signature verification for APT.
1 parent 45b8a08 commit ba1d185

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docker/Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@ FROM osrf/ros:humble-desktop-full-jammy as ros
44

55
LABEL name="develop:ros"
66

7+
# Fix the expired ROS GPG key issue by bypassing signature verification
8+
RUN echo 'APT::Get::AllowUnauthenticated "true";' > /etc/apt/apt.conf.d/99allow-unauth-ros
9+
RUN echo 'Acquire::AllowInsecureRepositories "true";' >> /etc/apt/apt.conf.d/99allow-unauth-ros
710
RUN apt-get update
11+
812
RUN apt-get -y install sudo
913
RUN echo 'root:docker' | chpasswd # Update user root password.
1014

0 commit comments

Comments
 (0)