From 20f7a0dcb095a3dfdc36eafee1c0ce2de77e436a Mon Sep 17 00:00:00 2001 From: Maxime VISONNEAU Date: Mon, 10 Dec 2018 13:50:21 +0000 Subject: [PATCH] Added missing build libraries for latest version of landscape --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 0f654bd..3fb8217 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,9 +2,11 @@ FROM hashicorp/terraform:0.11.10 RUN \ apk add --no-cache make bash ca-certificates jq curl ruby ruby-json;\ +apk add --no-cache -t build gcc ruby-dev libc-dev ;\ echo -e "#"'!'"/usr/bin/env bash\n\nmake -f /opt/terraform/Makefile "'$'"@" > /usr/bin/tf-make ;\ chmod +x /usr/bin/tf-make ;\ -gem install --no-rdoc --no-ri terraform_landscape +gem install --no-rdoc --no-ri terraform_landscape ;\ +apk del --purge build WORKDIR /opt/terraform ADD . .