Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dockerfile to accept sigint more gracefully #430

Open
mcascone opened this issue May 25, 2023 · 0 comments
Open

Update dockerfile to accept sigint more gracefully #430

mcascone opened this issue May 25, 2023 · 0 comments

Comments

@mcascone
Copy link
Contributor

When you have to kill a bitops run on the command line, with ctrl-c, it just hangs. It would be nice if it would exit gracefully.

I believe this can be done by adding STOPSIGNAL SIGINT to the dockerfile, or by running the main process inside a dummy process that catches the signal and exits.

likely resource: tini entrypoint

(ported into bitops from https://github.com/bitovi/operations-repo-examples-internal/issues/6)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant