coinbase / terraform-landscape

Improve Terraform's plan output to be easier to read and understand
Apache License 2.0
1.59k stars 116 forks source link

Publish image on Docker Hub #79

Closed MPV closed 4 years ago

MPV commented 5 years ago

Hi, Would you be open to publishing a Docker image for Landscape somewhere, like on Docker Hub?

This describes how to create an automated build on Docker Hub from a GitHub repo: https://docs.docker.com/docker-hub/builds/

FernandoMiguel commented 5 years ago

How do you see sending the plan from terraform to landscape, running it from a docker?

MPV commented 5 years ago

@FernandoMiguel Like this:

terraform plan ... | docker run -i --rm landscape

-- Source: https://github.com/coinbase/terraform-landscape/blob/master/README.md#docker

I've also confirmed that it works by using this forked image: https://hub.docker.com/r/wanderadock/terraform-landscape

A drawback with that particular image is that it isn't connected to this repo. Thus it doesn't auto-build new versions of the image when this repo releases new versions (which is nowadays easy to do with the Docker Hub "Automated Builds").

FernandoMiguel commented 5 years ago

you can always create your own auto builder :) i've done it several times in the past for other projects

sds commented 4 years ago

We will not be maintaining a Docker image under the coinbase name in Docker Hub. Closing this out.