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:
parent
32bbc76949
commit
0af651da27
8 changed files with 16 additions and 3 deletions
|
@ -1,3 +1,5 @@
|
||||||
|
// +build amd64
|
||||||
|
|
||||||
package graphdb
|
package graphdb
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// +build !linux !amd64
|
||||||
|
|
||||||
package graphdb
|
package graphdb
|
||||||
|
|
||||||
func NewSqliteConn(root string) (*Database, error) {
|
func NewSqliteConn(root string) (*Database, error) {
|
|
@ -1,3 +1,5 @@
|
||||||
|
// +build amd64
|
||||||
|
|
||||||
package mount
|
package mount
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// +build amd64
|
||||||
|
|
||||||
package mount
|
package mount
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// +build amd64
|
||||||
|
|
||||||
package netlink
|
package netlink
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
// +build: !linux !amd64
|
// +build !linux !amd64
|
||||||
|
|
||||||
package netlink
|
package netlink
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
Loading…
Reference in a new issue