Skip to content

Instantly share code, notes, and snippets.

@lanzafame
Last active March 15, 2018 03:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lanzafame/09a06f861edc3968565a884b92d22a5a to your computer and use it in GitHub Desktop.
Save lanzafame/09a06f861edc3968565a884b92d22a5a to your computer and use it in GitHub Desktop.
Docker build gx issues (MacOS)
$ docker build .
...
gx install --global
/bin/sh: 1: gx: Exec format error
mk/gx.mk:4: recipe for target 'gx-deps' failed
make: *** [gx-deps] Error 2
The command '/bin/sh -c cd $SRC_DIR && mkdir .git/objects && ([ -z "$GX_IPFS" ] || echo $GX_IPFS > /root/.ipfs/api) && make build' returned a non-zero code: 2
$ docker build .
...
deptools/gx_v0.12.1 install --global
deptools/gx_v0.12.1: 1: deptools/gx_v0.12.1: ����: not found
deptools/gx_v0.12.1: 2: deptools/gx_v0.12.1: Syntax error: "(" unexpected
Makefile:63: recipe for target 'deps' failed
make: *** [deps] Error 2
The command '/bin/sh -c make deps' returned a non-zero code: 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment