Skip to content

Commit

Permalink
Install azure cli and pwsh on debian 11
Browse files Browse the repository at this point in the history
  • Loading branch information
mmitche committed Aug 20, 2024
1 parent 02432d1 commit ad67b41
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/debian/11/amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ RUN apt-get update \
&& apt-get install -y \
autoconf \
automake \
azure-cli \
build-essential \
clang \
cmake \
Expand Down Expand Up @@ -47,3 +48,17 @@ RUN echo "locales locales/default_environment_locale select en_US.UTF-8" | debco
&& echo "locales locales/locales_to_be_generated multiselect en_US.UTF-8 UTF-8" | debconf-set-selections \
&& rm "/etc/locale.gen" \
&& dpkg-reconfigure --frontend noninteractive locales

# Install powershell. This is in the debpkg/amd64 docker file as it may not be required in the arm64
# images, and is not actually supported over there.
RUN apt-get update && \
apt-get install -y \
apt-transport-https \
software-properties-common \
curl && \
curl -sL https://packages.microsoft.com/config/debian/11/packages-microsoft-prod.deb -o packages-microsoft-prod.deb && \
dpkg -i packages-microsoft-prod.deb && \
rm packages-microsoft-prod.deb && \
apt-get update && \
apt-get install -y powershell && \
rm -rf /var/lib/apt/lists/*

0 comments on commit ad67b41

Please sign in to comment.