Rationalize `build` and `hack` directories

This also enables incremental builds for dockerized builds.

Fixes #1729
Here could also use double quotes:

```shell
kube_flags=(
  -s "http://127.0.0.1:${API_PORT}"
  --match-server-version
)
```