3 ms·
If it's a single Go binary, I imagine you can just compile it using the Makefile. I googled and found this: https://github.com/docker/distribution https://gith
by MichaelBurge 11y ago
If it's a single Go binary, I imagine you can just compile it using the Makefile.
I googled and found this:
https://github.com/docker/distribution https://github.com/docker/distribution
It has a dockerfile that just calls make. Everyone uses the usual unix tools to build software - Docker makes some sense for deployment, but it's not really suitable for development(what if I need to add profiling? Dwarf debugging information? Tweak the optimization settings? Disassemble one of the object files? Attach gdb to a process? Strace the process to understand it?). So there'll always be the basic build instructions, and the Dockerfile will probably wrap them: Adding Docker is way more abstraction than I'm willing to deal with when debugging a tricky problem.