hi,
is there a way to perform an unattended install of cli2.0?
for comparison aws cli is a simple 'pip install awscli'
this is convenient to preload the cli into packer images etc..
This is what i do for Docker, hope it helps
RUN pip install --user azure-cli
ENV PATH "$PATH:/<user path>/.local/bin/"
# Add any components etc
RUN az component update --add acr
https://docs.microsoft.com/en-us/cli/azure/install-azure-cli
Pip install is the way to go. If you are installing on Linux, be sure to check out the prerequisites section in the install guid.
@IainColledge @tjprescott Thanks!
Most helpful comment
This is what i do for Docker, hope it helps