[openstreetmap/openstreetmap-website] Enable the app to be built using Docker (#1290)
notifications at github.com
Mon Oct 31 21:17:22 UTC 2016
> Also if I'm reading that right it's relying on a prebuilt image rather that using a stock image and checking out the code? So anybody that uses this is going to start with a snapshot of the code from heaven knows when rather than something current?
The general idea is that an image is created (using this `Dockerfile`) and pushed to a registry either on each commit or release within this repository (it can even be automated as though it were another continuous integration check) (I'm partial to Quay.io for this functionality over Docker Hub).
`openstreetmap/openstreetmap-website:latest` would always correspond to the "latest" version but additional tagged releases can also be made available if users wish to stay on "known good" releases / commits.
It would be possible for the image to check out a current version of the code each time it's run, but that runs counter to the "immutable infrastructure" philosophy that Docker espouses (and enables).
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rails-dev