-
Notifications
You must be signed in to change notification settings - Fork 328
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Binary builds broken?? #94
Comments
i386 build works fine, btw. |
works for me:
|
weird. this is in an alpine container, maybe it's that, but golang is zero deps, so will have to look a bit more... cheers... |
Indeed this seems to be the case. This line reproduces the error: $ docker run --rm -it alpine sh -c "apk add curl; curl -LO https://github.com/tomnomnom/gron/releases/download/v0.6.0/gron-linux-amd64-0.6.0.tgz; tar zxvf gron-linux-amd64-0.6.0.tgz; ./gron --help"
sh: ./gron: not found I'm not a golang pro but it might be the case that the A possible fix is to install the $ docker run --rm -it alpine sh -c "apk add curl libc6-compat; curl -LO https://github.com/tomnomnom/gron/releases/download/v0.6.0/gron-linux-amd64-0.6.0.tgz; tar zxvf gron-linux-amd64-0.6.0.tgz; CGO_ENABLED=1 GOOS=linux ./gron --help"
Transform JSON (from a file, URL, or stdin) into discrete assignments to make it greppable
... With this trick even the network I/O works without problems in my case: $ docker run --rm -it alpine sh -c "apk add curl libc6-compat; curl -LO https://github.com/tomnomnom/gron/releases/download/v0.6.0/gron-linux-amd64-0.6.0.tgz; tar zxvf gron-linux-amd64-0.6.0.tgz; CGO_ENABLED=1 GOOS=linux ./gron https://api.github.com/users"
json = [];
json[0] = {};
json[0].avatar_url = "https://avatars.githubusercontent.com/u/1?v=4";
... Hope this helps. |
I think the binaries for Linux x86 are broken:
Or am I doing something stupid?
The text was updated successfully, but these errors were encountered: