blob: abf250fc6004c62ccb73486a8b97619f73325a23 [file] [log] [blame]
Zack Williams0f9e0b82017-05-26 17:47:36 -07001# xosproject/vrouter-synchronizer
Andy Bavierf189b6a2017-03-23 19:25:55 -04002FROM xosproject/xos-synchronizer-base:candidate
Scott Baker733870a2017-03-14 16:14:29 -07003
Zack Williams0f9e0b82017-05-26 17:47:36 -07004COPY . /opt/xos/synchronizers/vrouter
Scott Baker733870a2017-03-14 16:14:29 -07005
6ENTRYPOINT []
7
8WORKDIR "/opt/xos/synchronizers/vrouter"
9
Zack Williams31bc5782017-04-27 20:26:29 -070010# Label image
11ARG org_label_schema_schema_version=1.0
12ARG org_label_schema_name=vrouter-synchronizer
13ARG org_label_schema_version=unknown
14ARG org_label_schema_vcs_url=unknown
15ARG org_label_schema_vcs_ref=unknown
16ARG org_label_schema_build_date=unknown
17ARG org_opencord_vcs_commit_date=unknown
Zack Williams0f9e0b82017-05-26 17:47:36 -070018ARG org_opencord_component_chameleon_version=unknown
19ARG org_opencord_component_chameleon_vcs_url=unknown
20ARG org_opencord_component_chameleon_vcs_ref=unknown
21ARG org_opencord_component_xos_version=unknown
22ARG org_opencord_component_xos_vcs_url=unknown
23ARG org_opencord_component_xos_vcs_ref=unknown
Zack Williams31bc5782017-04-27 20:26:29 -070024
25LABEL org.label-schema.schema-version=$org_label_schema_schema_version \
26 org.label-schema.name=$org_label_schema_name \
27 org.label-schema.version=$org_label_schema_version \
28 org.label-schema.vcs-url=$org_label_schema_vcs_url \
29 org.label-schema.vcs-ref=$org_label_schema_vcs_ref \
30 org.label-schema.build-date=$org_label_schema_build_date \
Zack Williams0f9e0b82017-05-26 17:47:36 -070031 org.opencord.vcs-commit-date=$org_opencord_vcs_commit_date \
32 org.opencord.component.chameleon.version=$org_opencord_component_chameleon_version \
33 org.opencord.component.chameleon.vcs-url=$org_opencord_component_chameleon_vcs_url \
34 org.opencord.component.chameleon.vcs-ref=$org_opencord_component_chameleon_vcs_ref \
35 org.opencord.component.xos.version=$org_opencord_component_xos_version \
36 org.opencord.component.xos.vcs-url=$org_opencord_component_xos_vcs_url \
37 org.opencord.component.xos.vcs-ref=$org_opencord_component_xos_vcs_ref
Zack Williams31bc5782017-04-27 20:26:29 -070038
Scott Baker733870a2017-03-14 16:14:29 -070039CMD bash -c "cd /opt/xos/synchronizers/vrouter; ./run-from-api.sh"