# Use golang container for the builds
FROM golang:1.15

#Tools
RUN apt-get update
RUN apt-get install -y zip 

#Install Docker CLI Client 
RUN apt-get install -y software-properties-common
RUN add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu buster stable"
RUN apt-get install -y docker.io
RUN service docker start

#Install Terraform
RUN wget https://releases.hashicorp.com/terraform/0.13.6/terraform_0.13.6_linux_amd64.zip
RUN unzip terraform*.zip
RUN  mv terraform /usr/local/bin