Skip to content

Commit

Permalink
Merge pull request #42 from mvisonneau/fix_landscape
Browse files Browse the repository at this point in the history
Added missing build libraries for latest version of landscape
  • Loading branch information
paulRbr authored Dec 10, 2018
2 parents 34771c7 + 20f7a0d commit b078294
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 . .
Expand Down

0 comments on commit b078294

Please sign in to comment.