Last active
March 24, 2022 20:28
-
-
Save orphefs/0f4e7b0c6987504d9f9e5b7cdaf0c46e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ghcr.io/catthehacker/ubuntu:act-20.04 | |
# The following installs azure-cli (https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-linux?pivots=apt) | |
RUN apt-get update | |
RUN apt-get install -y ca-certificates curl apt-transport-https lsb-release gnupg | |
RUN curl -sL https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor | tee /etc/apt/trusted.gpg.d/microsoft.gpg > /dev/null | |
RUN echo "deb [arch=amd64] https://packages.microsoft.com/repos/azure-cli/ $(lsb_release -cs) main" | tee /etc/apt/sources.list.d/azure-cli.list | |
RUN apt-get update | |
RUN apt-get install -y azure-cli |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment