Zack Williams | 9832424 | 2017-05-26 17:41:23 -0700 | [diff] [blame] | 1 | # xosproject/exampleservice-synchronizer |
| 2 | |
Andy Bavier | e65708f | 2017-03-23 19:27:17 -0400 | [diff] [blame] | 3 | FROM xosproject/xos-synchronizer-base:candidate |
Scott Baker | e95023b | 2017-02-23 09:50:04 -0800 | [diff] [blame] | 4 | |
Zack Williams | 6674ec2 | 2017-04-27 20:23:21 -0700 | [diff] [blame] | 5 | COPY . /opt/xos/synchronizers/exampleservice |
Scott Baker | e95023b | 2017-02-23 09:50:04 -0800 | [diff] [blame] | 6 | |
| 7 | ENTRYPOINT [] |
| 8 | |
| 9 | WORKDIR "/opt/xos/synchronizers/exampleservice" |
| 10 | |
Zack Williams | 6674ec2 | 2017-04-27 20:23:21 -0700 | [diff] [blame] | 11 | # Label image |
| 12 | ARG org_label_schema_schema_version=1.0 |
| 13 | ARG org_label_schema_name=exampleservice-synchronizer |
| 14 | ARG org_label_schema_version=unknown |
| 15 | ARG org_label_schema_vcs_url=unknown |
| 16 | ARG org_label_schema_vcs_ref=unknown |
| 17 | ARG org_label_schema_build_date=unknown |
| 18 | ARG org_opencord_vcs_commit_date=unknown |
Zack Williams | 9832424 | 2017-05-26 17:41:23 -0700 | [diff] [blame] | 19 | ARG org_opencord_component_chameleon_version=unknown |
| 20 | ARG org_opencord_component_chameleon_vcs_url=unknown |
| 21 | ARG org_opencord_component_chameleon_vcs_ref=unknown |
| 22 | ARG org_opencord_component_xos_version=unknown |
| 23 | ARG org_opencord_component_xos_vcs_url=unknown |
| 24 | ARG org_opencord_component_xos_vcs_ref=unknown |
Zack Williams | 6674ec2 | 2017-04-27 20:23:21 -0700 | [diff] [blame] | 25 | |
| 26 | LABEL org.label-schema.schema-version=$org_label_schema_schema_version \ |
| 27 | org.label-schema.name=$org_label_schema_name \ |
| 28 | org.label-schema.version=$org_label_schema_version \ |
| 29 | org.label-schema.vcs-url=$org_label_schema_vcs_url \ |
| 30 | org.label-schema.vcs-ref=$org_label_schema_vcs_ref \ |
| 31 | org.label-schema.build-date=$org_label_schema_build_date \ |
Zack Williams | 9832424 | 2017-05-26 17:41:23 -0700 | [diff] [blame] | 32 | org.opencord.vcs-commit-date=$org_opencord_vcs_commit_date \ |
| 33 | org.opencord.component.chameleon.version=$org_opencord_component_chameleon_version \ |
| 34 | org.opencord.component.chameleon.vcs-url=$org_opencord_component_chameleon_vcs_url \ |
| 35 | org.opencord.component.chameleon.vcs-ref=$org_opencord_component_chameleon_vcs_ref \ |
| 36 | org.opencord.component.xos.version=$org_opencord_component_xos_version \ |
| 37 | org.opencord.component.xos.vcs-url=$org_opencord_component_xos_vcs_url \ |
| 38 | org.opencord.component.xos.vcs-ref=$org_opencord_component_xos_vcs_ref |
Zack Williams | 6674ec2 | 2017-04-27 20:23:21 -0700 | [diff] [blame] | 39 | |
Scott Baker | e95023b | 2017-02-23 09:50:04 -0800 | [diff] [blame] | 40 | CMD bash -c "cd /opt/xos/synchronizers/exampleservice; ./run-from-api.sh" |
Zack Williams | 6674ec2 | 2017-04-27 20:23:21 -0700 | [diff] [blame] | 41 | |