Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
| ... | ... |
@@ -31,6 +31,11 @@ for platform in $DOCKER_CROSSPLATFORMS; do |
| 31 | 31 |
|
| 32 | 32 |
if [ "$GOOS" != "solaris" ]; then |
| 33 | 33 |
# TODO. Solaris cannot be cross build because of CGO calls. |
| 34 |
+ |
|
| 35 |
+ # go install docker/docker/pkg packages to ensure that |
|
| 36 |
+ # they build cross platform. |
|
| 37 |
+ go install github.com/docker/docker/pkg/... |
|
| 38 |
+ |
|
| 34 | 39 |
if [ -z "${daemonSupporting[$platform]}" ]; then
|
| 35 | 40 |
# we just need a simple client for these platforms |
| 36 | 41 |
export LDFLAGS_STATIC_DOCKER="" |