The latest master on
https://github.com/Comcast/traffic_control now has support for building all of the traffic_control components using Docker. The commit adding this is
c5b6c7e.
Kick off the build using traffic_control/build/docker-build.sh:
$ cd traffic_control
$ ./build/docker-build.sh
The script creates an image "gitter" to clone the repository (by default, https://github.com/Comcast/traffic_control master branch). There are instructions in that script to pull from a different repo/branch. Each component is build within a separate container using the cloned repository from gitter.
This was developed using the latest Docker 1.12-beta21 on OSX -- hopefully will also work with other versions. The plan is to use this to aid in continuous integration/testing/deployment, but it should be helpful for anyone doing active development within traffic_control.
Future plans:
- use docker-compose to manage images/containers rather than the above script (hopefully for 1.7)
- set up automated continuous integration using this method
- set up to create packaging other than rpm
Any interest in helping to test this? Feedback -- bugs, suggestions, contributions -- are welcome! Please reply on this thread..
Thanks! Dan Kirkwood