Browse Source

Build drone-server without CGO

Otherwise it will fail when build with a newer GLIBC version than that
of the server.
master
Andreas Linz 2 years ago
parent
commit
5bcd5b67d8
Signed by: alinz GPG Key ID: 9BF39809C9DA580C
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      build/droneci/Makefile

+ 1
- 1
build/droneci/Makefile View File

@ -11,7 +11,7 @@ drone-agent: $(DRONE_SRC) checkout-version $(GOPATH)
cp $(GOPATH)/bin/$@ $@
drone-server: $(DRONE_SRC) checkout-version $(GOPATH)
cd $(DRONE_SRC) && go get -v github.com/drone/drone/cmd/drone-server
cd $(DRONE_SRC) && CGO_ENABLED=0 go get -v github.com/drone/drone/cmd/drone-server
cp $(GOPATH)/bin/$@ $@
$(GOPATH): $(DRONE_SRC)

Loading…
Cancel
Save