realestate-com-au / stackup

a simple CLI and Ruby API for AWS CloudFormation
MIT License
97 stars 34 forks source link

Dockerize #21

Closed lukeck closed 8 years ago

lukeck commented 8 years ago

I keep wanting to run stackup from a Docker image so it would be helpful if it was officially packaged as one.

I've added a Dockerfile that uses the official Ruby 2.3 alpine image. It's larger than I expected at 130mb. The advertised size for the ruby:2.3-alpine image is 38mb but weighs in at 125mb on my system for some reason. I'm sure it could be slimmed down more with a bit of effort.

I've also been wanting a dev environment for this so I've added that too, along with make targets for test, build and release.

I've guessed at that the docker hub repository name matches the realestate-com-au github org name.

mdub commented 8 years ago

Thanks Luke.

Probably don't need both $(TIMESTAMP) and $(VERSION) when tagging the image.

I've have the "realestate" org on hub.docker.com for a while ... this might be an opportunity to use it.

mdub commented 8 years ago

As an alternative, we could use an automated build on Docker Hub for this:

lukeck commented 8 years ago

Can we merge this and move to automated Docker Hub builds later if reimplementing what this does and setting up automated builds now is proving to be problematic? I want to start using this.

lukeck commented 8 years ago

Closing because there's now an alternative implementation on master.