forked from kuhlman-labs/terraform-azurerm-landing-zone
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
17 lines (14 loc) · 762 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Azure Pipelines container requirements
# https://docs.microsoft.com/en-us/azure/devops/pipelines/process/container-phases?view=azure-devops&tabs=yaml#requirements
FROM ubuntu:16.04
ENV TERRAFORM_VERSION=0.12.6
RUN apt-get update && \
apt-get install -y unzip curl wget bash git && \
rm -rf /var/lib/apt/lists/* && \
wget --no-check-certificate https://releases.hashicorp.com/terraform/${TERRAFORM_VERSION}/terraform_${TERRAFORM_VERSION}_linux_amd64.zip && \
unzip ./terraform_${TERRAFORM_VERSION}_linux_amd64.zip && \
mv terraform /usr/local/bin && \
rm ./terraform_${TERRAFORM_VERSION}_linux_amd64.zip && \
curl -sL https://aka.ms/InstallAzureCLIDeb | bash && \
az aks install-cli && \
apt-get remove -y unzip curl wget