I’m currently packaging Waypoint for Void Linux and trying to work out the build process for it. It seems relatively straight-forward going by the Makefile, but the embedded copy of waypoint-entrypoint has me a little confused. It appears to always be built for linux/amd64 (GOOS/GOARCH), even on Windows, and I’m trying to understand why that is.
My first assumption was that it would be the same architecture as the system running Waypoint for injection during builds. That said, if a build happens on a different architecture than linux/amd64, that doesn’t really make sense because the embedded entrypoint will be unusable. So, if anyone can share, what’s the reason for it? How is the embedded entrypoint used?