mirror of
https://github.com/docker/docs.git
synced 2026-03-27 14:28:47 +07:00
Merge pull request #22308 from tianon/dockerd-consistency
Tweak hack/make/*-{client,daemon} to be consistent
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
BINARY_SHORT_NAME="docker"
|
||||
SOURCE_PATH="./client"
|
||||
|
||||
source "${MAKEDIR}/.binary"
|
||||
(
|
||||
export BINARY_SHORT_NAME='docker'
|
||||
export SOURCE_PATH='./client'
|
||||
source "${MAKEDIR}/.binary"
|
||||
)
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
BINARY_SHORT_NAME="dockerd"
|
||||
SOURCE_PATH="./docker"
|
||||
|
||||
source "${MAKEDIR}/.binary"
|
||||
copy_containerd "$DEST" "hash"
|
||||
(
|
||||
export BINARY_SHORT_NAME='dockerd'
|
||||
export SOURCE_PATH='./docker'
|
||||
source "${MAKEDIR}/.binary"
|
||||
copy_containerd "$DEST" 'hash'
|
||||
)
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
set -e
|
||||
|
||||
(
|
||||
export BINARY_SHORT_NAME="docker"
|
||||
export SOURCE_PATH="./client"
|
||||
export IAMSTATIC="false"
|
||||
export BINARY_SHORT_NAME='docker'
|
||||
export SOURCE_PATH='./client'
|
||||
export IAMSTATIC='false'
|
||||
export LDFLAGS_STATIC_DOCKER=''
|
||||
export BUILDFLAGS=( "${BUILDFLAGS[@]/netgo /}" ) # disable netgo, since we don't need it for a dynamic binary
|
||||
export BUILDFLAGS=( "${BUILDFLAGS[@]/static_build /}" ) # we're not building a "static" binary here
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
set -e
|
||||
|
||||
(
|
||||
export BINARY_SHORT_NAME="dockerd"
|
||||
export SOURCE_PATH="./docker"
|
||||
export IAMSTATIC="false"
|
||||
export BINARY_SHORT_NAME='dockerd'
|
||||
export SOURCE_PATH='./docker'
|
||||
export IAMSTATIC='false'
|
||||
export LDFLAGS_STATIC_DOCKER=''
|
||||
export BUILDFLAGS=( "${BUILDFLAGS[@]/netgo /}" ) # disable netgo, since we don't need it for a dynamic binary
|
||||
export BUILDFLAGS=( "${BUILDFLAGS[@]/static_build /}" ) # we're not building a "static" binary here
|
||||
|
||||
Reference in New Issue
Block a user