|
@@ -10,13 +10,14 @@ daemonSupporting=(
|
|
|
|
|
|
# if we have our linux/amd64 version compiled, let's symlink it in
|
|
|
if [ -x "$DEST/../binary-daemon/dockerd-$VERSION" ]; then
|
|
|
- mkdir -p "$DEST/linux/amd64"
|
|
|
+ arch=$(go env GOHOSTARCH)
|
|
|
+ mkdir -p "$DEST/linux/${arch}"
|
|
|
(
|
|
|
- cd "$DEST/linux/amd64"
|
|
|
+ cd "$DEST/linux/${arch}"
|
|
|
ln -s ../../../binary-daemon/* ./
|
|
|
ln -s ../../../binary-client/* ./
|
|
|
)
|
|
|
- echo "Created symlinks:" "$DEST/linux/amd64/"*
|
|
|
+ echo "Created symlinks:" "$DEST/linux/${arch}/"*
|
|
|
fi
|
|
|
|
|
|
for platform in $DOCKER_CROSSPLATFORMS; do
|