Add Terraform to Workspace
Added Terraform (www.terraform.io) binary to workspace container. This tool is useful to spawn resources to multiple cloud providers via config files.
This commit is contained in:
		@@ -509,6 +509,21 @@ RUN if [ ${INSTALL_IMAGEMAGICK} = true ]; then \
 | 
			
		||||
    apt-get install -y --force-yes imagemagick php-imagick \
 | 
			
		||||
;fi
 | 
			
		||||
 | 
			
		||||
#####################################
 | 
			
		||||
# Terraform:
 | 
			
		||||
#####################################
 | 
			
		||||
USER root
 | 
			
		||||
ARG INSTALL_TERRAFORM=false
 | 
			
		||||
ENV INSTALL_TERRAFORM ${INSTALL_TERRAFORM}
 | 
			
		||||
RUN if [ ${INSTALL_TERRAFORM} = true ]; then \
 | 
			
		||||
    apt-get update -yqq \
 | 
			
		||||
    && apt-get -y install sudo wget unzip \
 | 
			
		||||
    && wget https://releases.hashicorp.com/terraform/0.10.6/terraform_0.10.6_linux_amd64.zip \
 | 
			
		||||
    && unzip terraform_0.10.6_linux_amd64.zip \
 | 
			
		||||
    && mv terraform /usr/local/bin \
 | 
			
		||||
    && rm terraform_0.10.6_linux_amd64.zip \
 | 
			
		||||
;fi
 | 
			
		||||
 | 
			
		||||
#
 | 
			
		||||
#--------------------------------------------------------------------------
 | 
			
		||||
# Final Touch
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user