blob: f4e627a7d4e8fbe66e57644c99c77a3c1030c8e5 [file] [log] [blame]
Murat Parlakisik638c65f2017-05-31 11:10:24 +03001
Matteo Scandoloeb0d11c2017-08-08 13:05:26 -07002# 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 Parlakisik638c65f2017-05-31 11:10:24 +030018FROM xosproject/xos-synchronizer-base:candidate
19
20ADD . /opt/xos/synchronizers/monitoring
21
22ENTRYPOINT []
23
24WORKDIR "/opt/xos/synchronizers/monitoring"
25
26# Label image
27ARG org_label_schema_schema_version=1.0
28ARG org_label_schema_name=monitoring-synchronizer
29ARG org_label_schema_version=unknown
30ARG org_label_schema_vcs_url=unknown
31ARG org_label_schema_vcs_ref=unknown
32ARG org_label_schema_build_date=unknown
33ARG org_opencord_vcs_commit_date=unknown
34
35LABEL 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
43CMD bash -c "cd /opt/xos/synchronizers/monitoring; ./run-from-api.sh"