Add an ansible terraform custom image

* Adds install-terraform for installing terraform binaries
* Adds install-ansible for installing ansible binaries
* Adds a ruby-2.3-ansible-2.5.1-terraform-0.11 image

Towards https://gitlab.com/gitlab-org/omnibus-gitlab/issues/3395
This commit is contained in:
Richard Clamp 2018-04-19 14:45:40 +01:00
parent f73dcbccba
commit 61ec1a94bc
6 changed files with 61 additions and 5 deletions

View file

@ -43,6 +43,14 @@ RUN if [ -n "$INSTALL_GOLANG_VERSION" ] ; then /scripts/install-golang "${INSTAL
ARG POSTGRES_VERSION
RUN if [ -n "$POSTGRES_VERSION" ] ; then /scripts/install-postgresql; fi
# Ansible
ARG ANSIBLE_VERSION
RUN if [ -n "$ANSIBLE_VERSION" ] ; then /scripts/install-ansible $ANSIBLE_VERSION; fi
# Terraform
ARG TERRAFORM_VERSION
ARG TERRAFORM_DOWNLOAD_SHA256
RUN if [ -n "$TERRAFORM_VERSION" ] ; then /scripts/install-terraform $TERRAFORM_VERSION $TERRAFORM_DOWNLOAD_SHA256; fi
RUN locale-gen en_US.UTF-8
ENV LANG en_US.UTF-8