Skip to content

Commit

Permalink
Add note to build script for docker (Azure#5571)
Browse files Browse the repository at this point in the history
  • Loading branch information
derekbekoe authored and tjprescott committed Feb 20, 2018
1 parent 921b825 commit 332535f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/automation/clibuild/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def build_debian(dist_info, git_url, git_branch, cli_version, artifact_dir, arg_
def build_docker(git_url, git_branch, cli_version, artifact_dir, arg_ns=None):
cmd = ['docker', 'build', '--no-cache', '--quiet', '--build-arg', 'BUILD_DATE="`date -u +"%Y-%m-%dT%H:%M:%SZ"`"',
'--build-arg', 'CLI_VERSION=' + cli_version, get_repo_root()]
print('Docker build started.')
print('Docker build started. The git url and branch parameters are ignored. We use the current repository.')
image_id = check_output(cmd, universal_newlines=True).strip()
image_id = image_id.split(':')[1]
image_file_location = os.path.join(artifact_dir, 'docker-azure-cli-{}.tar'.format(cli_version))
Expand Down

0 comments on commit 332535f

Please sign in to comment.