rpm build using Docker

9 views
Skip to first unread message

Dan Kirkwood

unread,
Aug 3, 2016, 1:40:03 PM8/3/16
to traffic_control-discuss
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

David Neuman

unread,
Aug 3, 2016, 2:02:49 PM8/3/16
to Dan Kirkwood, traffic_control-discuss
Sweet, good work Dan!  I will try to get some stick time with it.

--
You received this message because you are subscribed to the Google Groups "traffic_control-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to traffic_control-d...@googlegroups.com.
To post to this group, send email to traffic_con...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/traffic_control-discuss/d1a60026-d3a4-4bfc-98c4-025eac34ef5b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages