I’m still not able to compile the server statically
# github.com/dgraph-io/dgraph/dgraph
/usr/local/go/pkg/tool/linux_amd64/link: running gcc failed: exit status 1
/tmp/go-link-159525422/000000.o: In function `_cgo_29becdab8e08_C2func_getaddrinfo':
/tmp/workdir/go/src/net/cgo_unix.go:57: warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from t
he glibc version used for linking
Looks like we need to switch from glibc to musl gcc or find some other way to tackle this. Once that is done we could have independent binaries.