diff --git a/docker/Dockerfile b/docker/Dockerfile index fc28b47..3c2dcc1 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -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 + +