зеркало из https://github.com/microsoft/docker.git
Merge pull request #32213 from aaronlehmann/plugin-build-mac
plugins: Rename plugins_linux.go to plugins_unix.go and use build tags
This commit is contained in:
Коммит
8305617510
|
@ -31,6 +31,11 @@ for platform in $DOCKER_CROSSPLATFORMS; do
|
|||
|
||||
if [ "$GOOS" != "solaris" ]; then
|
||||
# TODO. Solaris cannot be cross build because of CGO calls.
|
||||
|
||||
# go install docker/docker/pkg packages to ensure that
|
||||
# they build cross platform.
|
||||
go install github.com/docker/docker/pkg/...
|
||||
|
||||
if [ -z "${daemonSupporting[$platform]}" ]; then
|
||||
# we just need a simple client for these platforms
|
||||
export LDFLAGS_STATIC_DOCKER=""
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// +build linux
|
||||
// +build linux,cgo
|
||||
|
||||
package devicemapper
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// +build linux
|
||||
// +build linux,cgo
|
||||
|
||||
package devicemapper
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// +build linux
|
||||
// +build linux,cgo
|
||||
|
||||
package devicemapper
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// +build linux,!libdm_no_deferred_remove
|
||||
// +build linux,cgo,!libdm_no_deferred_remove
|
||||
|
||||
package devicemapper
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// +build linux,libdm_no_deferred_remove
|
||||
// +build linux,cgo,libdm_no_deferred_remove
|
||||
|
||||
package devicemapper
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// +build linux
|
||||
// +build linux,cgo
|
||||
|
||||
package devicemapper
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// +build linux
|
||||
// +build linux,cgo
|
||||
|
||||
package loopback
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// +build linux
|
||||
// +build linux,cgo
|
||||
|
||||
package loopback
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// +build linux
|
||||
// +build linux,cgo
|
||||
|
||||
package loopback
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// +build linux
|
||||
// +build linux,cgo
|
||||
|
||||
package loopback
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// +build !windows
|
||||
|
||||
package plugins
|
||||
|
||||
// BasePath returns the path to which all paths returned by the plugin are relative to.
|
Загрузка…
Ссылка в новой задаче