Skip to content

Commit

Permalink
Fix for unauthenticated packages in older ROS versions
Browse files Browse the repository at this point in the history
  • Loading branch information
mandulaj committed Dec 4, 2023
1 parent c4a1d89 commit d5f10a1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
6 changes: 4 additions & 2 deletions Dockerfile_ros1_16_04
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive \
libeigen3-dev libboost-all-dev libsuitesparse-dev \
doxygen \
libopencv-dev \
libpoco-dev libtbb-dev libblas-dev liblapack-dev libv4l-dev \
python-catkin-tools
libpoco-dev libtbb-dev libblas-dev liblapack-dev libv4l-dev

# Install unauthenticated packages
RUN apt-get update && DEBIAN_FRONTEND=noninteractive \
apt-get install -y --allow-unauthenticated python-catkin-tools

# Create the workspace and build kalibr in it
ENV WORKSPACE /catkin_ws
Expand Down
8 changes: 6 additions & 2 deletions Dockerfile_ros1_18_04
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM osrf/ros:melodic-desktop-full

# Add expired GPG key
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com --recv 4B63CF8FDE49746E98FA01DDAD19BAB3CBF125EA

# Dependencies we use, catkin tools is very good build system
# https://github.com/ethz-asl/kalibr/wiki/installation
Expand All @@ -11,9 +13,11 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive \
libeigen3-dev libboost-all-dev libsuitesparse-dev \
doxygen \
libopencv-dev \
libpoco-dev libtbb-dev libblas-dev liblapack-dev libv4l-dev \
python-catkin-tools
libpoco-dev libtbb-dev libblas-dev liblapack-dev libv4l-dev

# Install unauthenticated packages
RUN apt-get update && DEBIAN_FRONTEND=noninteractive \
apt-get install -y --allow-unauthenticated python-catkin-tools

# Create the workspace and build kalibr in it
ENV WORKSPACE /catkin_ws
Expand Down

0 comments on commit d5f10a1

Please sign in to comment.