Please do with this as you please (including rebasing and/or squashing it), especially under clause (c) of the DCO. Docker-DCO-1.1-Signed-off-by: Andrew Page <admwiggin@gmail.com> (github: tianon) Upstream-commit: 3fb1fc0b7b225295b3059cb9a2f5fd9af7a73f36 Component: engine
17 lines
269 B
Bash
Executable File
17 lines
269 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"
|
|
ln -sf "docker-$VERSION" "$DEST/docker"
|
|
|
|
hash_files "$DEST/docker-$VERSION"
|