In writing better RELEASING docs, I realized the build was repeating
steps. In fixing that I fixed some make deps, but realized I *still*
can't make the build ideal.
At least it is written down now...
Change the use of pkill with 'docker rm' as this will work more reliably (at least on MacOS). Trap the EXIT signal so we can perform a clean-up even if a test fails, so we don't pollute the system with a bunch of stopped containers. Increase the timeout from two to three seconds in order for the tests to work reliably on MacOS (the two second waiting period was consistenly to short for all tests to work). Update the Makefile so when we run the container in order to compile the package we make sure the (stopped) container is removed.
Faster builds and versions from tags. Also use alpine as a base image. We
need alpine for other architectures...
Also change the --wait flag to take a float for sub-second waits.
I know this used to work. I must have broken it at some point. Manually
verified for HEAD and a real tag.
Also fix some logging so it is less chatty by default.
v2.0.2
Trying to standardize builds across architectures. We wrote this basic
Makefile/Dockerfile template for another container, but it works well, so reuse
it here.