Skip to content

Instantly share code, notes, and snippets.

@micheleorsi
Created February 26, 2017 16:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save micheleorsi/fd8241a9b889777246675605608bc9a1 to your computer and use it in GitHub Desktop.
Save micheleorsi/fd8241a9b889777246675605608bc9a1 to your computer and use it in GitHub Desktop.
Automation in Google Cloud for Kubernetes cluster: terraform + kargo
FROM ubuntu:xenial
MAINTAINER "Michele Orsi <me@micheleorsi.it>"
# ansible
RUN apt-get update
RUN apt-get install -y software-properties-common
RUN apt-add-repository ppa:ansible/ansible
RUN apt-get update
RUN apt-get install -y ansible
# kargo
RUN apt-get install -y gcc build-essential libssl-dev libffi-dev python-dev
RUN apt-get install -y git
RUN apt-get install -y python-pip
RUN pip2 install --upgrade pip
RUN pip2 install kargo
# Terraform
RUN apt-get install -y wget unzip
RUN wget https://releases.hashicorp.com/terraform/0.8.7/terraform_0.8.7_linux_amd64.zip
RUN unzip terraform_0.8.7_linux_amd64.zip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment