mirror of
https://github.com/docker/docs.git
synced 2026-03-27 22:38:54 +07:00
16 lines
229 B
Bash
Executable File
16 lines
229 B
Bash
Executable File
#!/bin/bash
|
|
|
|
DEST=$1
|
|
|
|
go build \
|
|
-o "$DEST/docker-$VERSION" \
|
|
"${BUILDFLAGS[@]}" \
|
|
-ldflags "
|
|
$LDFLAGS
|
|
$LDFLAGS_STATIC_DOCKER
|
|
" \
|
|
./docker
|
|
echo "Created binary: $DEST/docker-$VERSION"
|
|
|
|
hash_files "$DEST/docker-$VERSION"
|