openbaton / go-docker-vnfm

Apache License 2.0
2 stars 2 forks source link

crosscompiling docker-vnfm for arm architecture #6

Open mf3d3r opened 6 years ago

mf3d3r commented 6 years ago

Hi, I want do deploy docker-vnfm and docker-vim for a linux arm architecture. crosscompiling docker-driver with: env GOOS=linux GOARCH=arm go build -o docker-driver works fine.

But cc docker-vnfm with: env GOOS=linux GOARCH=arm go build -o docker-vnfm

gives the following overflow on an integer variable: github.com/openbaton/go-docker-vnfm/main/vendor/github.com/dgraph-io/badger vendor/github.com/dgraph-io/badger/kv.go:86:6: constant 1099511627776 overflows int

cc the docker-vnfm with GOARCH=arm64 is successful again, but I need it for 32bit architecture.

Any help is appreciated. Either fixing it or providing docker-vnfm for an arm32 architecture...