mirror of
https://github.com/harness/drone.git
synced 2025-05-03 06:19:56 +08:00
9 lines
243 B
Bash
Executable File
9 lines
243 B
Bash
Executable File
#!/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
|