Source ROS 2 base dir before building.

This commit is contained in:
Ingo Lütkebohle 2019-07-04 08:18:37 +00:00
parent 71ccf3c37e
commit b022d7b7b7

View file

@ -28,4 +28,4 @@ RUN vcs import < instrumentation.repos && vcs import < ci_source_deps.repos
RUN apt-get update && rosdep update && rosdep install --from-paths . --ignore-src --rosdistro dashing -y --skip-keys "console_bridge fastcdr fastrtps libopensplice67 libopensplice69 rti-connext-dds-5.3.1 urdfdom_headers"
RUN apt-get purge -y ros-dashing-fastrtps
RUN colcon build --symlink-install --cmake-args " -DWITH_LTTNG=ON" --packages-up-to rclcpp
RUN source /opt/ros/dashing/setup.bash && colcon build --symlink-install --cmake-args " -DWITH_LTTNG=ON" --packages-up-to ros2trace tracetools tracetools_launch tracetools_read tracetools_test tracetools_trace