in golang 1.11 os and user should use go implement by tags
@@ -18,7 +18,7 @@ deps:
rm -rf ./vendor/github.com/docker/distribution/vendor
binary:
- go build -ldflags "$(GO_LDFLAGS)" -a -tags netgo -installsuffix netgo -o eru-core
+ go build -ldflags "$(GO_LDFLAGS)" -a -tags "netgo osusergo" -installsuffix netgo -o eru-core
build: deps binary
