add 32 and 64 bit cloudinit

Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
This commit is contained in:
Василий Толстов 2015-03-27 09:23:31 +03:00
parent ed4b3c90ff
commit 94d56f972a

4
build
View File

@ -10,5 +10,7 @@ fi
export GOBIN=${PWD}/bin export GOBIN=${PWD}/bin
export GOPATH=${PWD}/gopath export GOPATH=${PWD}/gopath
export CGO_ENABLED=0
go build -o bin/cloudinit ${REPO_PATH} go build -a -installsuffix cgo -o bin/cloudinit-x86_64 ${REPO_PATH}
GOARCH=386 go build -a -installsuffix cgo -o bin/cloudinit-x86_32 ${REPO_PATH}