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 32bbc76949
commit 0af651da27
8 changed files with 16 additions and 3 deletions

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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