blob: 006e4ecafcae3f38ce57709826b28e5c82b682f6 [file] [log] [blame]
Andy Baviere65708f2017-03-23 19:27:17 -04001FROM xosproject/xos-synchronizer-base:candidate
Scott Bakere95023b2017-02-23 09:50:04 -08002
Zack Williams6674ec22017-04-27 20:23:21 -07003COPY . /opt/xos/synchronizers/exampleservice
Scott Bakere95023b2017-02-23 09:50:04 -08004
5ENTRYPOINT []
6
7WORKDIR "/opt/xos/synchronizers/exampleservice"
8
Zack Williams6674ec22017-04-27 20:23:21 -07009# Label image
10ARG org_label_schema_schema_version=1.0
11ARG org_label_schema_name=exampleservice-synchronizer
12ARG org_label_schema_version=unknown
13ARG org_label_schema_vcs_url=unknown
14ARG org_label_schema_vcs_ref=unknown
15ARG org_label_schema_build_date=unknown
16ARG org_opencord_vcs_commit_date=unknown
17
18LABEL org.label-schema.schema-version=$org_label_schema_schema_version \
19 org.label-schema.name=$org_label_schema_name \
20 org.label-schema.version=$org_label_schema_version \
21 org.label-schema.vcs-url=$org_label_schema_vcs_url \
22 org.label-schema.vcs-ref=$org_label_schema_vcs_ref \
23 org.label-schema.build-date=$org_label_schema_build_date \
24 org.opencord.vcs-commit-date=$org_opencord_vcs_commit_date
25
Scott Bakere95023b2017-02-23 09:50:04 -080026CMD bash -c "cd /opt/xos/synchronizers/exampleservice; ./run-from-api.sh"
Zack Williams6674ec22017-04-27 20:23:21 -070027