mirror of https://github.com/docker/cli.git
22 lines
368 B
Bash
Executable File
22 lines
368 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -eu -o pipefail
|
|
|
|
source ./scripts/build/.variables
|
|
|
|
# Wow, gox doesn't like extra spaces between these strings...
|
|
CROSS_OSARCH="\
|
|
windows/amd64"
|
|
|
|
#darwin/amd64 \
|
|
#linux/amd64 \
|
|
#linux/arm \
|
|
|
|
# Currently broken
|
|
# linux/ppc64le \
|
|
|
|
gox -output build/docker-{{.OS}}-{{.Arch}} \
|
|
-osarch "${CROSS_OSARCH}" \
|
|
--ldflags "${LDFLAGS}" \
|
|
${SOURCE}
|