mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Add line to hack/make/cross to cross-compile pkgs directory
Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
This commit is contained in:
parent
3da1192828
commit
8eb7edab7c
1 changed files with 5 additions and 0 deletions
|
@ -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=""
|
||||
|
|
Loading…
Add table
Reference in a new issue