1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-19 05:19:39 +02:00

feat(build-system): introduce Azure DevOps support (#2666)

This commit is contained in:
Steven Kang 2019-01-31 11:37:16 +13:00 committed by Anthony Lapenna
parent fca4f619b5
commit 576f369152
8 changed files with 127 additions and 120 deletions

9
build/build_binary.sh Executable file
View file

@ -0,0 +1,9 @@
binary="portainer"
mkdir -p dist
cd 'api/cmd/portainer'
go get -t -d -v ./...
GOOS=$1 GOARCH=$2 CGO_ENABLED=0 go build -a --installsuffix cgo --ldflags '-s'
mv "${binary}" "../../../dist/portainer"