代码拉取完成,页面将自动刷新
FROM ros:eloquent-ros-base-bionic
# USE BASH
SHELL ["/bin/bash", "-c"]
# RUN LINE BELOW TO REMOVE debconf ERRORS (MUST RUN BEFORE ANY apt-get CALLS)
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
RUN apt-get update && apt-get upgrade -y && apt-get install -y --no-install-recommends apt-utils
# slam_toolbox
RUN mkdir -p colcon_ws/src
RUN cd colcon_ws/src && git clone -b eloquent-devel https://github.com/SteveMacenski/slam_toolbox.git
RUN source /opt/ros/eloquent/setup.bash \
&& cd colcon_ws \
&& rosdep update \
&& rosdep install -y -r --from-paths src --ignore-src --rosdistro=eloquent -y
RUN source /opt/ros/eloquent/setup.bash \
&& cd colcon_ws/ \
&& colcon build --cmake-args=-DCMAKE_BUILD_TYPE=Release \
&& colcon test
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。