Skip to content

Commit a6b543e

Browse files
committed
Debugging Noetic rosdep init failure
Signed-off-by: Shane Loretz <[email protected]>
1 parent 41f19db commit a6b543e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ros1/ros-base/Containerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,12 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
2626
python3-rosdep \
2727
python3-rosinstall \
2828
python3-vcstools \
29+
curl \
2930
&& rm -rf /var/lib/apt/lists/*
3031

3132
# Bootstrap rosdep
3233
# Retry because fetching this file from github is unusually flaky
34+
RUN curl -S https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/sources.list.d/20-default.list
3335
RUN bash -c 'for i in {1..5}; do rosdep init && break || sleep 15; done'
3436
RUN rosdep update --rosdistro $ROS_DISTRO
3537

ros1/ros-core/Containerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,10 @@ RUN echo 'Etc/UTC' > /etc/timezone && \
2626
rm -rf /var/lib/apt/lists/*
2727

2828
# Install packages
29-
# ca-certificates is to get https to work when initializing rosdep in ros-base
3029
RUN apt-get update && apt-get install -q -y --no-install-recommends \
3130
dirmngr \
3231
gnupg2 \
3332
lsb-release \
34-
ca-certificates \
3533
&& rm -rf /var/lib/apt/lists/*
3634

3735
# Setup keys

0 commit comments

Comments
 (0)