Skip to content

Commit

Permalink
Delete ros_entrypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
rafal-gorecki committed Nov 20, 2023
1 parent 0e1d1e5 commit d1845cb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 18 deletions.
4 changes: 3 additions & 1 deletion Dockerfile.hardware
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,9 @@ RUN apt-get update && apt-get install -y \

RUN echo $(cat /ros2_ws/src/rosbot/package.xml | grep '<version>' | sed -r 's/.*<version>([0-9]+.[0-9]+.[0-9]+)<\/version>/\1/g') >> /version.txt

COPY ./ros_entrypoint.sh /
RUN sed -i '/test -f "\/ros2_ws\/install\/setup.bash" && source "\/ros2_ws\/install\/setup.bash"/a \
ros2 run healthcheck_pkg healthcheck_node &' \
/ros_entrypoint.sh

COPY ./healthcheck.sh /
HEALTHCHECK --interval=7s --timeout=2s --start-period=5s --retries=5 \
Expand Down
4 changes: 3 additions & 1 deletion Dockerfile.simulation
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,9 @@ RUN MYDISTRO=${PREFIX:-ros}; MYDISTRO=${MYDISTRO//-/} && \

RUN echo $(cat /ros2_ws/src/rosbot_gazebo/package.xml | grep '<version>' | sed -r 's/.*<version>([0-9]+.[0-9]+.[0-9]+)<\/version>/\1/g') > /version.txt

COPY ./ros_entrypoint.sh /
RUN sed -i '/test -f "\/ros2_ws\/install\/setup.bash" && source "\/ros2_ws\/install\/setup.bash"/a \
ros2 run healthcheck_pkg healthcheck_node &' \
/ros_entrypoint.sh

COPY ./healthcheck.sh /
HEALTHCHECK --interval=7s --timeout=2s --start-period=5s --retries=5 \
Expand Down
16 changes: 0 additions & 16 deletions ros_entrypoint.sh

This file was deleted.

0 comments on commit d1845cb

Please sign in to comment.