Thanks for the reply.
So you could use it for everyday development tasks but I think plays development story is good as it is so yes I think it should focus on the deployment story. I am open to correction on any of the following.
1. I am going to say yes but I don't know much about that plugin. I have a feeling that plugin might become superfluous with a well set up docker image but I could be wrong.
2. There is an advantage to moving as many dependancies to the docker image as possible and that is that docker will share an image across any containers extending it. So on a system wth many play containers running this should result in more efficient disk usage at least although that is probably not that important for most users.
I think these are the advantages I have in mind
- having a reference 'default' system implementation ready for production. env variables can be set for various settings in the base image and if people know what they are doing they can override them but if they don't need or want to finely tune their system they know they have a great production ready starting point.
- Docker makes it easy to add my own customizations to the set-up I add a Dockerfile to the root of my project which extends the official one and I add my configuration while getting all the basics and whatever fine tuning is in the official image for free. These customizations might be users, or packages or whatever else you want on your system be it related to play or not.
- the ci / cd process could be 'ready to go', you make a code change and you push, some ci server pulls the change and runs your tests, and if they pass, builds your jar and then pings production to pull the update and production runs the container with a 'prod' flag and it uses the jar. most of that (what command runs the tests, what command builds the jar, what command starts the play app on prod) can be built into the container so that someone does not have to go find each of those commands in the docs separately and put their own deployment script together unless they want to.
- You get all the above and the ability to deploy anywhere that will take a docker image