Skip to content

Commit 2eb107c

Browse files
authored
clean makefile (#294)
1 parent 2be7ca9 commit 2eb107c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Makefile

+1-3
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,9 @@ grpc:
1414
deps:
1515
env GO111MODULE=on go mod download
1616
env GO111MODULE=on go mod vendor
17-
# fix mock docker client bug, see https://github.com/moby/moby/pull/34383 [docker 17.05.0-ce]
18-
sed -i.bak "143s/\*http.Transport/http.RoundTripper/" ./vendor/github.com/docker/docker/client/client.go
1917

2018
binary:
21-
go build -ldflags "$(GO_LDFLAGS)" -a -tags "netgo osusergo" -installsuffix netgo -o eru-core
19+
CGO_ENABLED=0 go build -ldflags "$(GO_LDFLAGS)" -o eru-core
2220

2321
build: deps binary
2422

0 commit comments

Comments
 (0)