-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
az cli install script fails for alpine #7437
Comments
CC: @troydai |
The fix is just to make the "XXXX" longer by 2 "X" :)
|
So the fix is like this:
|
venura9
added a commit
to venura9/manage-nsg
that referenced
this issue
Mar 19, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Running the az cli install script inside Alpine docker image fails with multiple errors
To Reproduce
use the below Dockerfile
Expected behavior
Image is successfully built and container has az installed in it
Environment summary
Docker on windows
docker version
Client:
Version: 18.06.1-ce
API version: 1.38
Go version: go1.10.3
Git commit: e68fc7a
Built: Tue Aug 21 17:21:34 2018
OS/Arch: windows/amd64
Experimental: false
Server:
Engine:
Version: 18.06.1-ce
API version: 1.38 (minimum version 1.12)
Go version: go1.10.3
Git commit: e68fc7a
Built: Tue Aug 21 17:29:02 2018
OS/Arch: linux/amd64
Experimental: false
Additional context
I see the below errors :
Command "/root/lib/azure-cli/bin/python -m pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-m1zf6io_ --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools wheel "cffi>=1.4.1; python_implementation != 'PyPy'"" failed with error code 1 in None
Traceback (most recent call last):
File "./azure_cli_install_tmp_PeaOmb", line 370, in
main()
File "./azure_cli_install_tmp_PeaOmb", line 356, in main
install_cli(install_dir, tmp_dir)
File "./azure_cli_install_tmp_PeaOmb", line 140, in install_cli
exec_command(cmd)
File "./azure_cli_install_tmp_PeaOmb", line 100, in exec_command
subprocess.check_call(command_list, cwd=cwd, env=env)
File "/usr/lib/python3.6/subprocess.py", line 291, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/root/lib/azure-cli/bin/pip', 'install', '--cache-dir', '/tmp/tmputs58c2j', 'azure-cli', '--upgrade']' returned non-zero exit status 1.
The text was updated successfully, but these errors were encountered: