I'm not 100% sure this works yet, but I want to PR it so I don't forget. I mean, I might still forget, but...
Anyway, this is really similar to the regular builder. The Dockerfile only differs in the Go image it descends from (really wish there was a way to source other Dockerfiles), and the build script is a stripped-down version of the regular one. I took out any flag I wasn't 100% sure worked in the cross-compiling context. Somebody else can add them if they need them and can test that they work.
This doesn't have the self-extracting stuff that just got put in the builder, but I can't imagine that thing works as-is on multiple platforms.
I'm not 100% sure this works yet, but I want to PR it so I don't forget. I mean, I might still forget, but...
Anyway, this is really similar to the regular builder. The
Dockerfile
only differs in the Go image it descends from (really wish there was a way to source other Dockerfiles), and the build script is a stripped-down version of the regular one. I took out any flag I wasn't 100% sure worked in the cross-compiling context. Somebody else can add them if they need them and can test that they work.This doesn't have the self-extracting stuff that just got put in the builder, but I can't imagine that thing works as-is on multiple platforms.