Lets go back to building binaries outside of Docker #368
Labels
kind/feature
Categorizes issue or PR as related to a new feature.
priority/important-soon
Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
size/M
estimate of the amount of work to address the issue
As stated in #367 I like to build and run the services using docker-compose on my dev machine. Doing any small change to any of the services causes a rebuild of the binary in docker. This is generally slower than just building and COPYing during build but its made worse because the dependencies need to be downloaded each and every time.
Context
My edit-build-test cycle takes longer than necessary, so does CI.
I know this was added to support multi-arch images, but I think we can do better.
We can wire up a
run
target in the Makefile that has the dependencies properly set so that the binaries are built. This will take care of trying to run the docker-compose but no builds are done yet.For the multi-arch images we can make use of
sed
to replace "vanilla" binary names with $GOOS & $GOARCH binaries. This would happen in ci or in make so not a big deal imo.The text was updated successfully, but these errors were encountered: