# This Dockerfile describes a simple image with rosdep installed.
|
# When `run`, it outputs a script for installing dependencies for a given workspace
|
# Requirements:
|
# * mount a colcon workspace at /ws
|
# * see gather_rosdeps.sh for all-caps required input environment
|
FROM ubuntu:focal
|
|
RUN apt-get update && apt-get install --no-install-recommends -y \
|
dirmngr \
|
gnupg2 \
|
&& rm -rf /var/lib/apt/lists/*
|
RUN apt-key adv --keyserver 'hkp://keyserver.ubuntu.com:80' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654
|
RUN echo "deb http://packages.ros.org/ros/ubuntu bionic main" > /etc/apt/sources.list.d/ros-latest.list
|
RUN apt-get update && apt-get install --no-install-recommends -y \
|
python-rosdep \
|
python3-colcon-common-extensions \
|
&& rm -rf /var/lib/apt/lists/*
|
|
RUN rosdep init
|
RUN mkdir -p /opt
|
WORKDIR /opt
|
#ENTRYPOINT ["/root/gather_rosdeps.sh"]
|