8e5b17cf13
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
18 lines
414 B
Bash
18 lines
414 B
Bash
#!/bin/bash
|
|
set -e
|
|
|
|
CROSSPLATFORMS="linux/amd64 linux/386 linux/arm"
|
|
BUILDTAGS+=" exclude_graphdriver_devicemapper"
|
|
|
|
for platform in $CROSSPLATFORMS; do
|
|
(
|
|
export KEEPDEST=1
|
|
export DEST="$DEST/$platform" # bundles/VERSION/cross/GOOS/GOARCH/docker-VERSION
|
|
mkdir -p "$DEST"
|
|
ABS_DEST="$(cd "$DEST" && pwd -P)"
|
|
export GOOS=${platform%/*}
|
|
export GOARCH=${platform##*/}
|
|
|
|
source "${MAKEDIR}/binary"
|
|
)
|
|
done
|