This PR refactors the code in docker.go that builds Docker containers. I'm working on introducing a very simple plugin system to weaver-kube. To register plugins, users have to write a custom "weaver-kube" binary, which might be called something other than "weaver-kube". docker.go currently assumes the tool is called "weaver-kube". This PR refactors things to allow for a "weaver-kube" binary of any name.
This PR refactors the code in
docker.go
that builds Docker containers. I'm working on introducing a very simple plugin system to weaver-kube. To register plugins, users have to write a custom "weaver-kube" binary, which might be called something other than "weaver-kube".docker.go
currently assumes the tool is called "weaver-kube". This PR refactors things to allow for a "weaver-kube" binary of any name.