Skip to content

Commit

Permalink
scripts: Add init to run-from-container
Browse files Browse the repository at this point in the history
This adds a tiny init process inside containers that manages signals and
reaps processes, and averts the issue with tests getting stuck when
interrupted.
  • Loading branch information
aarnq committed Sep 6, 2024
1 parent 3fe16df commit 29a473e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/run-from-container.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ else
fi

declare -a args
args=("--rm")
args=("--init" "--rm")

if [[ -t 1 ]] && [[ -z "${CI:-}" ]]; then
args+=("-it")
Expand Down

0 comments on commit 29a473e

Please sign in to comment.