mirror of
https://github.com/clearlinux/docker.git
synced 2026-08-29 14:33:49 +00:00
6b46a09186
Docker-DCO-1.1-Signed-off-by: Andrew Page <admwiggin@gmail.com> (github: tianon)
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"
|