Public | Automated Build

Last pushed: 2 days ago
Dockerfile
# This is an auto generated Dockerfile for ros2:ros-core # generated from docker_images/create_ros2_core_image.Dockerfile.em FROM ubuntu:bionic RUN echo 'Etc/UTC' > /etc/timezone && \ ln -s /usr/share/zoneinfo/Etc/UTC /etc/localtime && \ apt-get update && apt-get install -q -y tzdata && rm -rf /var/lib/apt/lists/* # install packages RUN apt-get update && apt-get install -q -y \ dirmngr \ gnupg2 \ lsb-release \ python3-pip \ && rm -rf /var/lib/apt/lists/* # setup ros1 keys RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 421C365BD9FF1F717815A3895523BAEEB01FA116 # setup sources.list RUN echo "deb http://packages.ros.org/ros/ubuntu `lsb_release -sc` main" > /etc/apt/sources.list.d/ros-latest.list # setup ros2 keys RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 421C365BD9FF1F717815A3895523BAEEB01FA116 # setup sources.list RUN . /etc/os-release \ && echo "deb http://repo.ros2.org/$ID/main `lsb_release -sc` main" > /etc/apt/sources.list.d/ros2-latest.list # setup environment ENV LANG C.UTF-8 ENV LC_ALL C.UTF-8 ENV ROS_DISTRO melodic ENV ROS2_DISTRO bouncy # install python packages RUN pip3 install -U \ argcomplete # install ros2 packages RUN apt-get update && apt-get install -y \ ros-bouncy-ros-core \ && rm -rf /var/lib/apt/lists/* # setup entrypoint COPY ./ros2_entrypoint.sh / ENTRYPOINT ["/ros2_entrypoint.sh"] CMD ["bash"]
Source Repository