blob: f8a6e8dafba9a2b3bf13bf329a861b2a5f38222b [file] [log] [blame]
Andy Baviercd4e1de2017-03-23 19:25:40 -04001FROM xosproject/xos-synchronizer-base:candidate
Scott Bakerf458f682017-03-14 17:10:36 -07002
3ADD . /opt/xos/synchronizers/onos
4
5ENTRYPOINT []
6
7WORKDIR "/opt/xos/synchronizers/onos"
8
Zack Williamse09ea622017-04-27 20:25:11 -07009# Label image
10ARG org_label_schema_schema_version=1.0
11ARG org_label_schema_name=onos-synchronizer
12ARG org_label_schema_version=unknown
13ARG org_label_schema_vcs_url=unknown
14ARG org_label_schema_vcs_ref=unknown
15ARG org_label_schema_build_date=unknown
16ARG org_opencord_vcs_commit_date=unknown
17
18LABEL org.label-schema.schema-version=$org_label_schema_schema_version \
19 org.label-schema.name=$org_label_schema_name \
20 org.label-schema.version=$org_label_schema_version \
21 org.label-schema.vcs-url=$org_label_schema_vcs_url \
22 org.label-schema.vcs-ref=$org_label_schema_vcs_ref \
23 org.label-schema.build-date=$org_label_schema_build_date \
24 org.opencord.vcs-commit-date=$org_opencord_vcs_commit_date
25
Scott Bakerf458f682017-03-14 17:10:36 -070026CMD bash -c "cd /opt/xos/synchronizers/onos; ./run-from-api.sh"