From 560e9848084612bb1ce1ec12a1b42b318c3a968e Mon Sep 17 00:00:00 2001 From: Bo-Chun Chen <louistw@uab.edu> Date: Tue, 6 Jun 2023 15:49:11 -0500 Subject: [PATCH] Add terraform to docker image --- Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Dockerfile b/Dockerfile index 21f3a7f..db1e599 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,8 +3,12 @@ FROM python:3.8-slim ENV S3CMD_VER=2.3.0 ENV ANSIBLE_VER=4.10.0 ENV OSC_VER=5.8.0 +ENV TF_VER=1.4.6 ADD ./packer /usr/local/bin +RUN wget https://releases.hashicorp.com/terraform/${TF_VER}/terraform_${TF_VER}_linux_amd64.zip \ + && unzip terraform_${TF_VER}_linux_amd64.zip \ + && rm terraform_${TF_VER}_linux_amd64.zip RUN apt-get update && apt-get install --no-install-recommends -y \ git \ ssh \ -- GitLab