Added re-aply task

This commit is contained in:
Alex Davies 2024-09-13 12:47:50 -03:00
parent dd68457bda
commit dbb498c78a
2 changed files with 6 additions and 10 deletions

View File

@ -4,9 +4,13 @@
"version": "2.0.0", "version": "2.0.0",
"tasks": [ "tasks": [
{ {
"label": "Update templates ", "label": "Update from templates ",
"type": "shell", "type": "shell",
"command": "find .copier/ -type f -exec copier update --skip-answered -a {} \\;" "command": "find .copier/ -type f -exec copier update --skip-answered -a {} \\;"
},
{
"label": "Re-apply template and edit answers ",
"type": "shell",
"command": "find .copier/ -type f -exec copier recopy -a {} \\;"
} }
] ]
}

View File

@ -23,16 +23,8 @@ RUN /bin/bash -c "source /opt/ros/noetic/setup.bash && rosdep install --from-pat
RUN /bin/bash -c "source /opt/ros/noetic/setup.bash && catkin_make" RUN /bin/bash -c "source /opt/ros/noetic/setup.bash && catkin_make"
RUN /bin/bash -c "source /opt/ros/noetic/setup.bash && catkin_make install" RUN /bin/bash -c "source /opt/ros/noetic/setup.bash && catkin_make install"
# # Stage 2: Runtime Stage
# FROM git.spirirobotics.com/spiri/services-ros1-core:main
#
# # Copy only the built artifacts from the previous stage
# COPY --from=builder /root/catkin_ws/devel /root/catkin_ws/devel
# Set the working directory
WORKDIR /root/catkin_ws WORKDIR /root/catkin_ws
RUN apt-get clean RUN apt-get clean
HEALTHCHECK {{HEALTHCHECK}} HEALTHCHECK {{HEALTHCHECK}}