File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed
Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 22set -e
33
44docker pull -q $IMAGE :$TAG
5- # docker run $IMAGE:$TAG /bin/bash -c "source /home/bolty/ament_ws/install/setup.bash; colcon test; colcon test-result --verbose"
6- docker run $IMAGE :$TAG /bin/bash -c " source /opt/ros/\$ ROS_DISTRO/setup.bash; source \$ WATONOMOUS_INSTALL/setup.bash; colcon test; colcon test-result --verbose"
5+ docker run $IMAGE :$TAG /bin/bash -c " source /home/bolty/ament_ws/install/setup.bash; colcon test; colcon test-result --verbose"
6+ # docker run $IMAGE:$TAG /bin/bash -c "source /opt/ros/\$ROS_DISTRO/setup.bash; source \$WATONOMOUS_INSTALL/setup.bash; colcon test; colcon test-result --verbose"
Original file line number Diff line number Diff line change @@ -61,8 +61,14 @@ RUN . /opt/ros/$ROS_DISTRO/setup.sh && \
6161 --cmake-args -DCMAKE_BUILD_TYPE=Release --install-base ${WATONOMOUS_INSTALL}
6262
6363# Source and Build Artifact Cleanup
64- RUN rm -rf src/* build/* devel/* install/* log/*
64+ # RUN rm -rf src/* build/* devel/* install/* log/*
6565
6666# Entrypoint will run before any CMD on launch. Sources ~/opt/<ROS_DISTRO>/setup.bash and ~/ament_ws/install/setup.bash
6767COPY docker/wato_ros_entrypoint.sh ${AMENT_WS}/wato_ros_entrypoint.sh
6868ENTRYPOINT ["./wato_ros_entrypoint.sh" ]
69+
70+ # ############################### Deploy ################################
71+ FROM build AS deploy
72+
73+ # move clean up later
74+ RUN rm -rf src/* build/* devel/* log/*
You can’t perform that action at this time.
0 commit comments