Update/fix build tags, Dockerfile, and release.sh for proper building and releasing of linux/386 and linux/arm cross-compiled client binaries

Docker-DCO-1.1-Signed-off-by: Andrew Page <admwiggin@gmail.com> (github: tianon)
This commit is contained in:
Tianon Gravi
2014-01-31 03:16:42 -07:00
parent 45dd051e8e
commit 065dd231dd
31 changed files with 51 additions and 23 deletions

View File

@@ -1,3 +1,5 @@
// +build amd64
package graphdb
import (

View File

@@ -1,3 +1,5 @@
// +build !linux !amd64
package graphdb
func NewSqliteConn(root string) (*Database, error) {

View File

@@ -1,3 +1,5 @@
// +build amd64
package mount
import (

View File

@@ -1,4 +1,5 @@
// +build: !linux !amd64
// +build !linux !amd64
package mount
func parseOptions(options string) (int, string) {

View File

@@ -1,3 +1,5 @@
// +build amd64
package mount
import (

View File

@@ -1,4 +1,5 @@
// +build: !linux !amd64
// +build !linux !amd64
package mount
func mount(device, target, mType string, flag uintptr, data string) error {

View File

@@ -1,3 +1,5 @@
// +build amd64
package netlink
import (

View File

@@ -1,4 +1,5 @@
// +build: !linux !amd64
// +build !linux !amd64
package netlink
import (