Skip to content

Instantly share code, notes, and snippets.

@orphefs
Last active March 24, 2022 20:28
Show Gist options
  • Save orphefs/0f4e7b0c6987504d9f9e5b7cdaf0c46e to your computer and use it in GitHub Desktop.
Save orphefs/0f4e7b0c6987504d9f9e5b7cdaf0c46e to your computer and use it in GitHub Desktop.
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