Skip to content
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

azure-cli install failing #10

Open
mucifous opened this issue Oct 31, 2023 · 0 comments
Open

azure-cli install failing #10

mucifous opened this issue Oct 31, 2023 · 0 comments

Comments

@mucifous
Copy link

hey there, the azure-cli install was failing ao I added the "official" method to your dockerfile...

# add azure cli repos
RUN apt-get update -y && apt-get upgrade -y && useradd -m docker
RUN apt-get install -y \
    ca-certificates curl apt-transport-https lsb-release gnupg
RUN mkdir -p /etc/apt/keyrings
RUN curl -sLS https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor | tee /etc/apt/keyrings/microsoft.gpg > /dev/null
RUN chmod go+r /etc/apt/keyrings/microsoft.gpg
RUN echo "deb [arch=`dpkg --print-architecture` signed-by=/etc/apt/keyrings/microsoft.gpg] https://packages.microsoft.com/repos/azure-cli/ jammy main" | tee /etc/apt/sources.list.d/azure-cli.list
RUN apt-get update -y

# install the packages and dependencies along with jq so we can parse JSON (add additional packages as necessary)
RUN apt-get install -y --no-install-recommends \
    curl nodejs wget unzip vim azure-cli git jq build-essential libssl-dev libffi-dev python3 python3-venv python3-dev python3-pip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant