From 258732e1d27b0758fced453a3dd7d5ed62ab2e00 Mon Sep 17 00:00:00 2001 From: Florian Bertholin Date: Fri, 24 Feb 2017 16:33:25 +0100 Subject: [PATCH 1/2] Upgrade Terraform to 0.8.7 --- Dockerfile | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 95b76ea..7eb84ad 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,14 +2,20 @@ # # docker build --rm=true -t jmccann/drone-terraform:latest . -FROM alpine:3.4 +FROM alpine:3.5 + +ENV TERRAFORM_VERSION 0.8.7 RUN echo "http://dl-cdn.alpinelinux.org/alpine/edge/community" | tee -a /etc/apk/repositories && \ apk -U add \ ca-certificates \ git \ - terraform && \ - rm -rf /var/cache/apk/* + wget && \ + rm -rf /var/cache/apk/* && \ + wget -q https://releases.hashicorp.com/terraform/${TERRAFORM_VERSION}/terraform_${TERRAFORM_VERSION}_linux_amd64.zip -O terraform.zip && \ + unzip terraform.zip && \ + rm terraform.zip && \ + mv terraform /bin ADD drone-terraform /bin/ ENTRYPOINT ["/bin/drone-terraform"] From b89668d26cdb9ed26e00c4a7887215a540fb917b Mon Sep 17 00:00:00 2001 From: Robin Vasseur Date: Thu, 16 Mar 2017 14:19:24 +0100 Subject: [PATCH 2/2] Update terraform version 0.8.7 -> 0.8.8 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 7eb84ad..bb4745e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ FROM alpine:3.5 -ENV TERRAFORM_VERSION 0.8.7 +ENV TERRAFORM_VERSION 0.8.8 RUN echo "http://dl-cdn.alpinelinux.org/alpine/edge/community" | tee -a /etc/apk/repositories && \ apk -U add \