Zack Williams | 0f9e0b8 | 2017-05-26 17:47:36 -0700 | [diff] [blame] | 1 | # xosproject/vrouter-synchronizer |
Andy Bavier | f189b6a | 2017-03-23 19:25:55 -0400 | [diff] [blame] | 2 | FROM xosproject/xos-synchronizer-base:candidate |
Scott Baker | 733870a | 2017-03-14 16:14:29 -0700 | [diff] [blame] | 3 | |
Zack Williams | 0f9e0b8 | 2017-05-26 17:47:36 -0700 | [diff] [blame] | 4 | COPY . /opt/xos/synchronizers/vrouter |
Scott Baker | 733870a | 2017-03-14 16:14:29 -0700 | [diff] [blame] | 5 | |
| 6 | ENTRYPOINT [] |
| 7 | |
| 8 | WORKDIR "/opt/xos/synchronizers/vrouter" |
| 9 | |
Zack Williams | 31bc578 | 2017-04-27 20:26:29 -0700 | [diff] [blame] | 10 | # Label image |
| 11 | ARG org_label_schema_schema_version=1.0 |
| 12 | ARG org_label_schema_name=vrouter-synchronizer |
| 13 | ARG org_label_schema_version=unknown |
| 14 | ARG org_label_schema_vcs_url=unknown |
| 15 | ARG org_label_schema_vcs_ref=unknown |
| 16 | ARG org_label_schema_build_date=unknown |
| 17 | ARG org_opencord_vcs_commit_date=unknown |
Zack Williams | 0f9e0b8 | 2017-05-26 17:47:36 -0700 | [diff] [blame] | 18 | ARG org_opencord_component_chameleon_version=unknown |
| 19 | ARG org_opencord_component_chameleon_vcs_url=unknown |
| 20 | ARG org_opencord_component_chameleon_vcs_ref=unknown |
| 21 | ARG org_opencord_component_xos_version=unknown |
| 22 | ARG org_opencord_component_xos_vcs_url=unknown |
| 23 | ARG org_opencord_component_xos_vcs_ref=unknown |
Zack Williams | 31bc578 | 2017-04-27 20:26:29 -0700 | [diff] [blame] | 24 | |
| 25 | LABEL 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 Williams | 0f9e0b8 | 2017-05-26 17:47:36 -0700 | [diff] [blame] | 31 | 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 Williams | 31bc578 | 2017-04-27 20:26:29 -0700 | [diff] [blame] | 38 | |
Scott Baker | 733870a | 2017-03-14 16:14:29 -0700 | [diff] [blame] | 39 | CMD bash -c "cd /opt/xos/synchronizers/vrouter; ./run-from-api.sh" |