mirror of
https://github.com/docker/docs.git
synced 2026-04-12 06:19:22 +07:00
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:
@@ -1,3 +1,5 @@
|
||||
// +build amd64
|
||||
|
||||
package graphdb
|
||||
|
||||
import (
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
// +build !linux !amd64
|
||||
|
||||
package graphdb
|
||||
|
||||
func NewSqliteConn(root string) (*Database, error) {
|
||||
@@ -1,3 +1,5 @@
|
||||
// +build amd64
|
||||
|
||||
package mount
|
||||
|
||||
import (
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
// +build: !linux !amd64
|
||||
// +build !linux !amd64
|
||||
|
||||
package mount
|
||||
|
||||
func parseOptions(options string) (int, string) {
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
// +build amd64
|
||||
|
||||
package mount
|
||||
|
||||
import (
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
// +build: !linux !amd64
|
||||
// +build !linux !amd64
|
||||
|
||||
package mount
|
||||
|
||||
func mount(device, target, mType string, flag uintptr, data string) error {
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
// +build amd64
|
||||
|
||||
package netlink
|
||||
|
||||
import (
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
// +build: !linux !amd64
|
||||
// +build !linux !amd64
|
||||
|
||||
package netlink
|
||||
|
||||
import (
|
||||
|
||||
Reference in New Issue
Block a user