mirror of
https://github.com/mitre/Fast-RRT-Star.git
synced 2025-08-30 17:03:14 +00:00
reorder workdir in dockerfile
This commit is contained in:
@@ -31,12 +31,6 @@ ENV ROS_PACKAGE_PATH=/root/catkin_ws/src:/opt/ros/$ROS_DISTRO/share
|
||||
# Add setup.bash sourcing to bashrc
|
||||
RUN echo "source /opt/ros/$ROS_DISTRO/setup.bash" >> /etc/bash.bashrc
|
||||
|
||||
# Copy catkin_ws CMakeLists, scripts, and planner configuration to image
|
||||
WORKDIR /root/catkin_ws/
|
||||
COPY ./docker/CMakeLists.txt ./src/CMakeLists.txt
|
||||
COPY ./scripts/ ./scripts
|
||||
COPY ./config/planner.yaml /opt/ros/$ROS_DISTRO/share/husky_navigation/config/planner.yaml
|
||||
|
||||
# Copy Fast-RRT* to catkin workspace in image
|
||||
WORKDIR /root/catkin_ws/src/fast_rrt_ros
|
||||
COPY ./include/ ./include/
|
||||
@@ -46,3 +40,11 @@ COPY ./fast_rrt_star_planner_plugin.xml ./fast_rrt_star_planner_plugin.xml
|
||||
COPY ./LICENSE ./LICENSE
|
||||
COPY ./package.xml ./package.xml
|
||||
COPY ./README.md ./README.md
|
||||
|
||||
# Copy catkin_ws CMakeLists, scripts, and planner configuration to image
|
||||
WORKDIR /root/catkin_ws/
|
||||
COPY ./docker/CMakeLists.txt ./src/CMakeLists.txt
|
||||
COPY ./scripts/ ./scripts
|
||||
COPY ./config/planner.yaml /opt/ros/$ROS_DISTRO/share/husky_navigation/config/planner.yaml
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user