Andy Bavier | e65708f | 2017-03-23 19:27:17 -0400 | [diff] [blame] | 1 | FROM xosproject/xos-synchronizer-base:candidate |
Scott Baker | e95023b | 2017-02-23 09:50:04 -0800 | [diff] [blame] | 2 | |
Zack Williams | 6674ec2 | 2017-04-27 20:23:21 -0700 | [diff] [blame] | 3 | COPY . /opt/xos/synchronizers/exampleservice |
Scott Baker | e95023b | 2017-02-23 09:50:04 -0800 | [diff] [blame] | 4 | |
| 5 | ENTRYPOINT [] |
| 6 | |
| 7 | WORKDIR "/opt/xos/synchronizers/exampleservice" |
| 8 | |
Zack Williams | 6674ec2 | 2017-04-27 20:23:21 -0700 | [diff] [blame] | 9 | # Label image |
| 10 | ARG org_label_schema_schema_version=1.0 |
| 11 | ARG org_label_schema_name=exampleservice-synchronizer |
| 12 | ARG org_label_schema_version=unknown |
| 13 | ARG org_label_schema_vcs_url=unknown |
| 14 | ARG org_label_schema_vcs_ref=unknown |
| 15 | ARG org_label_schema_build_date=unknown |
| 16 | ARG org_opencord_vcs_commit_date=unknown |
| 17 | |
| 18 | LABEL 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 Baker | e95023b | 2017-02-23 09:50:04 -0800 | [diff] [blame] | 26 | CMD bash -c "cd /opt/xos/synchronizers/exampleservice; ./run-from-api.sh" |
Zack Williams | 6674ec2 | 2017-04-27 20:23:21 -0700 | [diff] [blame] | 27 | |