blob: f2b241d83d2a31c6b9542a413c7a7cef1d0b7e1e [file] [log] [blame]
Zack Williams98324242017-05-26 17:41:23 -07001# xosproject/exampleservice-synchronizer
2
Andy Baviere65708f2017-03-23 19:27:17 -04003FROM xosproject/xos-synchronizer-base:candidate
Scott Bakere95023b2017-02-23 09:50:04 -08004
Zack Williams6674ec22017-04-27 20:23:21 -07005COPY . /opt/xos/synchronizers/exampleservice
Scott Bakere95023b2017-02-23 09:50:04 -08006
7ENTRYPOINT []
8
9WORKDIR "/opt/xos/synchronizers/exampleservice"
10
Zack Williams6674ec22017-04-27 20:23:21 -070011# Label image
12ARG org_label_schema_schema_version=1.0
13ARG org_label_schema_name=exampleservice-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
Zack Williams98324242017-05-26 17:41:23 -070019ARG 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
Zack Williams6674ec22017-04-27 20:23:21 -070025
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 \
Zack Williams98324242017-05-26 17:41:23 -070032 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
Zack Williams6674ec22017-04-27 20:23:21 -070039
Scott Bakere95023b2017-02-23 09:50:04 -080040CMD bash -c "cd /opt/xos/synchronizers/exampleservice; ./run-from-api.sh"
Zack Williams6674ec22017-04-27 20:23:21 -070041