From 24a265dfa9229e3cb9fad110669b985a86426678 Mon Sep 17 00:00:00 2001 From: Piotr Komborski Date: Fri, 22 Jun 2018 21:11:30 +0100 Subject: [PATCH 1/2] Update golang to 1.10 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 8dfc209..5fcec07 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ # Docker image for the Drone Terraform plugin # # docker build -t jmccann/drone-terraform:latest . -FROM golang:1.9-alpine AS builder +FROM golang:1.10-alpine AS builder COPY ./*.go ./src/ COPY ./vendor/ ./src/ RUN set -ex \ From f411b0b16fab188b1088fa58d3fe01945ef47cdf Mon Sep 17 00:00:00 2001 From: Piotr Komborski Date: Fri, 22 Jun 2018 21:16:11 +0100 Subject: [PATCH 2/2] Add ssh client So we can clone terraform modules from git over ssh --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5fcec07..c3a7264 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,8 +13,9 @@ FROM alpine:3.7 RUN apk -U add \ ca-certificates \ git \ - wget && \ - rm -rf /var/cache/apk/* + wget \ + openssh-client && \ + rm -rf /var/cache/apk/* ENV TERRAFORM_VERSION 0.11.7 RUN wget -q https://releases.hashicorp.com/terraform/${TERRAFORM_VERSION}/terraform_${TERRAFORM_VERSION}_linux_amd64.zip -O terraform.zip && \