coinbase/terraform-landscape

Publish image on Docker Hub

MPV opened this issue · 4 comments

MPV commented

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/

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

MPV commented

@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").

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

sds commented

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