Cleanup code in the bootstrap function
authorMichael Brown <supermathie@gmail.com>
Thu, 31 Mar 2022 02:46:34 +0000 (22:46 -0400)
committerMichael Brown <supermathie@gmail.com>
Thu, 31 Mar 2022 02:47:39 +0000 (22:47 -0400)
commitd0747918e79ab743a1cde307f3fc5a46f3a31fe3
treec216b5eb8e151de8048a80c2983323dd269ece0d
parent62b009bafacce830bc9902611547141c64eb8beb
Cleanup code in the bootstrap function

I came here to do something else, but could not help cleaning up the bootstrap
code.

* add die() helper
* pull the container ID into an environment variable right away instead of
  interpolating it every time
* we don't need to write out to a file prior to piping it into docker
* use $() instead of backticks
* tidied up messaging from failed docker commits
launcher