blob: 1aeb9bc860d67d248bf864e4bc71ab15c9816c0c [file] [log] [blame]
Pingping Lin470e8612018-05-29 17:35:31 -07001# xosproject/epc-service-synchronizer
2FROM xosproject/xos-synchronizer-base:candidate
3
4COPY xos/synchronizer /opt/xos/synchronizers/epc-service
5COPY VERSION /opt/xos/synchronizers/epc-service/
6
7ENTRYPOINT []
8
9WORKDIR "/opt/xos/synchronizers/epc-service"
10
11# Label image
12ARG org_label_schema_schema_version=1.0
13ARG org_label_schema_name=epc-service-synchronizer
14ARG org_label_schema_version=unknown
15ARG org_label_schema_vcs_url=unknown
16ARG org_label_schema_vcs_ref=unknown
17ARG org_label_schema_build_date=unknown
18ARG org_opencord_vcs_commit_date=unknown
19ARG org_opencord_component_chameleon_version=unknown
20ARG org_opencord_component_chameleon_vcs_url=unknown
21ARG org_opencord_component_chameleon_vcs_ref=unknown
22ARG org_opencord_component_xos_version=unknown
23ARG org_opencord_component_xos_vcs_url=unknown
24ARG org_opencord_component_xos_vcs_ref=unknown
25
26LABEL 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 \
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
39
40CMD bash -c "service filebeat start; cd /opt/xos/synchronizers/epc-service; ./run-from-api.sh"