8 lines
243 B
Bash
8 lines
243 B
Bash
#!/bin/sh
|
|
|
|
echo "building docker images for ${GOOS}/${GOARCH} ..."
|
|
|
|
REPO="github.com/drone/drone"
|
|
|
|
# compile the server using the cgo
|
|
go build -ldflags "-extldflags \"-static\"" -o release/linux/${GOARCH}/drone-server ${REPO}/cmd/drone-server
|