Signed-off-by: John Stephens <johnstep@docker.com>
| ... | ... |
@@ -397,12 +397,13 @@ Try {
|
| 397 | 397 |
# Perform the actual build |
| 398 | 398 |
if ($Daemon) { Execute-Build "daemon" "daemon" "dockerd" }
|
| 399 | 399 |
if ($Client) {
|
| 400 |
- $dockerCliCommit=$(findstr DOCKERCLI_COMMIT hack\dockerfile\binaries-commits) |
|
| 400 |
+ $dockerCliRepo = (findstr DOCKERCLI_REPO hack\dockerfile\binaries-commits).split("=")[1]
|
|
| 401 |
+ $dockerCliCommit = (findstr DOCKERCLI_COMMIT hack\dockerfile\binaries-commits).split("=")[1]
|
|
| 401 | 402 |
Push-Location .. |
| 402 | 403 |
# TODO: check if cli folder exists already |
| 403 |
- git clone https://github.com/docker/cli |
|
| 404 |
+ git clone $dockerCliRepo |
|
| 404 | 405 |
cd cli |
| 405 |
- git checkout $dockerCliCommit.split("=")[1]
|
|
| 406 |
+ git checkout $dockerCliCommit |
|
| 406 | 407 |
# TODO: update CI script to not assume binary is in docker/docker |
| 407 | 408 |
go build -o ..\docker\bundles\docker.exe github.com/docker/cli/cmd/docker |
| 408 | 409 |
Pop-Location |