blob: c2f56f18304c509bfc416bee4283e175f6dc51f2 [file] [log] [blame]
Sapan Bhatia2810e032017-11-03 00:31:00 -04001# xosproject/epc-service-synchronizer
2FROM xosproject/xos-synchronizer-base:candidate
3
4COPY . /opt/xos/synchronizers/epc-service
5
6ENTRYPOINT []
7
8WORKDIR "/opt/xos/synchronizers/epc-service"
9
10# Label image
11ARG org_label_schema_schema_version=1.0
12ARG org_label_schema_name=epc-service-synchronizer
13ARG org_label_schema_version=unknown
14ARG org_label_schema_vcs_url=unknown
15ARG org_label_schema_vcs_ref=unknown
16ARG org_label_schema_build_date=unknown
17ARG org_opencord_vcs_commit_date=unknown
18ARG org_opencord_component_chameleon_version=unknown
19ARG org_opencord_component_chameleon_vcs_url=unknown
20ARG org_opencord_component_chameleon_vcs_ref=unknown
21ARG org_opencord_component_xos_version=unknown
22ARG org_opencord_component_xos_vcs_url=unknown
23ARG org_opencord_component_xos_vcs_ref=unknown
24
25LABEL org.label-schema.schema-version=$org_label_schema_schema_version \
26 org.label-schema.name=$org_label_schema_name \
27 org.label-schema.version=$org_label_schema_version \
28 org.label-schema.vcs-url=$org_label_schema_vcs_url \
29 org.label-schema.vcs-ref=$org_label_schema_vcs_ref \
30 org.label-schema.build-date=$org_label_schema_build_date \
31 org.opencord.vcs-commit-date=$org_opencord_vcs_commit_date \
32 org.opencord.component.chameleon.version=$org_opencord_component_chameleon_version \
33 org.opencord.component.chameleon.vcs-url=$org_opencord_component_chameleon_vcs_url \
34 org.opencord.component.chameleon.vcs-ref=$org_opencord_component_chameleon_vcs_ref \
35 org.opencord.component.xos.version=$org_opencord_component_xos_version \
36 org.opencord.component.xos.vcs-url=$org_opencord_component_xos_vcs_url \
37 org.opencord.component.xos.vcs-ref=$org_opencord_component_xos_vcs_ref
38
Sapan Bhatiadb261642018-01-03 14:22:19 -050039CMD bash -c "service filebeat start; cd /opt/xos/synchronizers/epc-service; ./run-from-api.sh"