1
0
mirror of https://github.com/docker/docs.git synced 2026-10-25 06:09:46 +03:00
Files
docs/hack/make/binary
2014-03-06 19:55:22 -07:00

14 lines
191 B
Bash

#!/bin/bash
DEST=$1
go build \
-o $DEST/docker-$VERSION \
"${BUILDFLAGS[@]}" \
-ldflags "
$LDFLAGS
$LDFLAGS_STATIC_DOCKER
" \
./docker
echo "Created binary: $DEST/docker-$VERSION"