Skip to content

Commit

Permalink
Move stop signal to dockerfile (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
pawelirh authored Apr 15, 2024
1 parent c2e8442 commit 3f65e81
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions Dockerfile.hardware
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ FROM husarnet/ros:${ROS_DISTRO}-ros-core

ENV HUSARION_ROS_BUILD_TYPE=hardware

STOPSIGNAL SIGINT

WORKDIR /ros2_ws

RUN apt-get update && \
Expand Down
2 changes: 2 additions & 0 deletions Dockerfile.simulation
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ FROM husarnet/ros:${ROS_DISTRO}-ros-core

ENV HUSARION_ROS_BUILD_TYPE=simulation

STOPSIGNAL SIGINT

WORKDIR /ros2_ws

RUN apt-get update && \
Expand Down
1 change: 0 additions & 1 deletion demo/compose.minimal-setup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ services:
memlock:
soft: 102400
hard: 102400
stop_signal: SIGINT
command: >
ros2 launch panther_bringup bringup.launch.py namespace:=panther
Expand Down
1 change: 0 additions & 1 deletion demo/compose.simulation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,5 @@ services:
- *cpu-config
volumes:
- /tmp/.X11-unix:/tmp/.X11-unix:rw
stop_signal: SIGINT
command: >
ros2 launch panther_gazebo simulation.launch.py

0 comments on commit 3f65e81

Please sign in to comment.