Disable cgo for portability

This commit is contained in:
Cassandra
2019-08-30 00:58:58 +02:00
parent ea1522f375
commit ef0fd4342e

3
Jenkinsfile vendored
View File

@@ -15,6 +15,9 @@ pipeline {
}
}
stage('Build') {
environment {
CGO_ENABLED = '0'
}
steps {
sh 'gox -parallel=2 -ldflags="-s -w" -output="builds/{{.Dir}}_{{.OS}}_{{.Arch}}" ./cmd/protoplex'
}