Murat Parlakisik | 638c65f | 2017-05-31 11:10:24 +0300 | [diff] [blame] | 1 | |
Matteo Scandolo | eb0d11c | 2017-08-08 13:05:26 -0700 | [diff] [blame^] | 2 | # Copyright 2017-present Open Networking Foundation |
| 3 | # |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | # you may not use this file except in compliance with the License. |
| 6 | # You may obtain a copy of the License at |
| 7 | # |
| 8 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | # |
| 10 | # Unless required by applicable law or agreed to in writing, software |
| 11 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | # See the License for the specific language governing permissions and |
| 14 | # limitations under the License. |
| 15 | |
| 16 | |
| 17 | |
Murat Parlakisik | 638c65f | 2017-05-31 11:10:24 +0300 | [diff] [blame] | 18 | FROM xosproject/xos-synchronizer-base:candidate |
| 19 | |
| 20 | ADD . /opt/xos/synchronizers/monitoring |
| 21 | |
| 22 | ENTRYPOINT [] |
| 23 | |
| 24 | WORKDIR "/opt/xos/synchronizers/monitoring" |
| 25 | |
| 26 | # Label image |
| 27 | ARG org_label_schema_schema_version=1.0 |
| 28 | ARG org_label_schema_name=monitoring-synchronizer |
| 29 | ARG org_label_schema_version=unknown |
| 30 | ARG org_label_schema_vcs_url=unknown |
| 31 | ARG org_label_schema_vcs_ref=unknown |
| 32 | ARG org_label_schema_build_date=unknown |
| 33 | ARG org_opencord_vcs_commit_date=unknown |
| 34 | |
| 35 | LABEL org.label-schema.schema-version=$org_label_schema_schema_version \ |
| 36 | org.label-schema.name=$org_label_schema_name \ |
| 37 | org.label-schema.version=$org_label_schema_version \ |
| 38 | org.label-schema.vcs-url=$org_label_schema_vcs_url \ |
| 39 | org.label-schema.vcs-ref=$org_label_schema_vcs_ref \ |
| 40 | org.label-schema.build-date=$org_label_schema_build_date \ |
| 41 | org.opencord.vcs-commit-date=$org_opencord_vcs_commit_date |
| 42 | |
| 43 | CMD bash -c "cd /opt/xos/synchronizers/monitoring; ./run-from-api.sh" |