Skip to content

Commit

Permalink
Update Dockerfile (Azure#160)
Browse files Browse the repository at this point in the history
  • Loading branch information
ljtill authored Aug 9, 2020
1 parent e5da17a commit fdd5a0d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
FROM mcr.microsoft.com/powershell:latest

LABEL version="0.2"
LABEL repository="https://github.com/Azure/Enterprise-Scale"
LABEL maintainer="Microsoft"

ARG github=0.10.1
ARG azure=4.2.0
ARG github=0.11.1
ARG azure=4.5.0

RUN [ "/bin/bash", "-c", "apt-get update &> /dev/null && apt-get install -y git wget &> /dev/null" ]
RUN [ "/bin/bash", "-c", "wget https://github.com/cli/cli/releases/download/v${github}/gh_${github}_linux_amd64.deb -O /tmp/gh_${github}_linux_amd64.deb &> /dev/null" ]
RUN [ "/bin/bash", "-c", "dpkg -i /tmp/gh_${github}_linux_amd64.deb &> /dev/null" ]
RUN [ "/usr/bin/pwsh", "-Command", "Install-Module -Name Az -RequiredVersion ${azure} -Scope AllUsers -Force" ]
RUN [ "/usr/bin/pwsh", "-Command", "Install-Module -Name Az -RequiredVersion ${azure} -Scope AllUsers -Force" ]

0 comments on commit fdd5a0d

Please sign in to comment.