Open bltavares opened 5 years ago
Originally I was compiling on an Arm-based server in Scaleway, I am guessing the Docker build is linking against the wrong OS library. Let me run a build on my Pi and upload that for the time being.
In that case, your release could work. I've tested the Docket binary, which didn't work.
Let me test your release. (Most likely next week)
Em 16 de abril de 2019 06:52:39 BRT, Nicholas Jackson notifications@github.com escreveu:
Originally I was compiling on an Arm-based server in Scaleway, I am guessing the Docker build is linking against the wrong OS library. Let me run a build on my Pi and upload that for the time being.
-- You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/nicholasjackson/nomad-arm6l/issues/4#issuecomment-483592118
The suggested project, unfortunately, produces a Nomad binary which does not work when scheduling tasks. It fails due to to some cross-compilation issues I haven't been able to resolve yet.
It's related to how
os/user
deals withcgo
and cross-compilation. It fails asnomad
can't locate theuid
of the usernobody
when pre-allocating the storage for the process.The changes introduced on https://github.com/hashicorp/nomad/pull/5525 does produce a binary which schedules containers properly with
os/user
working. We could back-port the specific changes and avoidgoreleaser
to reduce the different between the in-tree build process and others.