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

Add better error reporting to install_docker.sh #5

Open
Zalgo2462 opened this issue Sep 15, 2020 · 0 comments
Open

Add better error reporting to install_docker.sh #5

Zalgo2462 opened this issue Sep 15, 2020 · 0 comments

Comments

@Zalgo2462
Copy link
Contributor

We should add set errexit and a bash trap to the install_docker.sh script in order to better diagnose runtime errors. In addition, all uses of curl should have the --fail flag so curl triggers the error trap if it hits a snag.

For an example, see install_beaker.sh https://github.com/activecm/BeaKer/blob/52eeea74b1b0eaf0705514755aab24155a62be9f/installer/stage/BeaKer/install_beaker.sh#L16

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