Murat Parlakisik | 638c65f | 2017-05-31 11:10:24 +0300 | [diff] [blame^] | 1 | |
| 2 | FROM xosproject/xos-synchronizer-base:candidate |
| 3 | |
| 4 | ADD . /opt/xos/synchronizers/monitoring |
| 5 | |
| 6 | ENTRYPOINT [] |
| 7 | |
| 8 | WORKDIR "/opt/xos/synchronizers/monitoring" |
| 9 | |
| 10 | # Label image |
| 11 | ARG org_label_schema_schema_version=1.0 |
| 12 | ARG org_label_schema_name=monitoring-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 |
| 18 | |
| 19 | LABEL org.label-schema.schema-version=$org_label_schema_schema_version \ |
| 20 | org.label-schema.name=$org_label_schema_name \ |
| 21 | org.label-schema.version=$org_label_schema_version \ |
| 22 | org.label-schema.vcs-url=$org_label_schema_vcs_url \ |
| 23 | org.label-schema.vcs-ref=$org_label_schema_vcs_ref \ |
| 24 | org.label-schema.build-date=$org_label_schema_build_date \ |
| 25 | org.opencord.vcs-commit-date=$org_opencord_vcs_commit_date |
| 26 | |
| 27 | CMD bash -c "cd /opt/xos/synchronizers/monitoring; ./run-from-api.sh" |