CORD-1008 Dockerfile and docker-compose for onos synchronizer

Change-Id: If345b5946282dee8035ee5bc51c0e73f72a469ed
diff --git a/xos/synchronizer/steps/sync_onosapp.py b/xos/synchronizer/steps/sync_onosapp.py
index cc5d25e..cba8290 100644
--- a/xos/synchronizer/steps/sync_onosapp.py
+++ b/xos/synchronizer/steps/sync_onosapp.py
@@ -101,6 +101,15 @@
             return cuser.kuser_id
 
     def write_configs(self, o):
+        if hasattr(o, "create_attr"):
+            # new API doesn't let us setattr for things that don't already exist
+            o.create_attr("config_fns")
+            o.create_attr("rest_configs")
+            o.create_attr("component_configs")
+            o.create_attr("files_dir")
+            o.create_attr("node_key_fn")
+            o.create_attr("early_rest_configs")
+
         o.config_fns = []
         o.rest_configs = []
         o.component_configs = []