Andy Bavier | 0e2744b | 2017-03-23 19:25:04 -0400 | [diff] [blame] | 1 | FROM xosproject/xos-synchronizer-base:candidate |
Scott Baker | 08a4df3 | 2017-03-15 14:13:59 -0700 | [diff] [blame] | 2 | |
Zack Williams | 240fe80 | 2017-04-27 21:21:23 -0700 | [diff] [blame^] | 3 | COPY . /opt/xos/synchronizers/vtn |
Scott Baker | 08a4df3 | 2017-03-15 14:13:59 -0700 | [diff] [blame] | 4 | |
Zack Williams | 240fe80 | 2017-04-27 21:21:23 -0700 | [diff] [blame^] | 5 | COPY __init__.py /opt/xos/services/__init__.py |
| 6 | COPY __init__.py vtnnetport.py /opt/xos/services/vtn/ |
Scott Baker | 08a4df3 | 2017-03-15 14:13:59 -0700 | [diff] [blame] | 7 | |
| 8 | ENTRYPOINT [] |
| 9 | |
| 10 | WORKDIR "/opt/xos/synchronizers/vtn" |
| 11 | |
Zack Williams | 240fe80 | 2017-04-27 21:21:23 -0700 | [diff] [blame^] | 12 | # Label image |
| 13 | ARG org_label_schema_schema_version=1.0 |
| 14 | ARG org_label_schema_name=vtn-synchronizer |
| 15 | ARG org_label_schema_version=unknown |
| 16 | ARG org_label_schema_vcs_url=unknown |
| 17 | ARG org_label_schema_vcs_ref=unknown |
| 18 | ARG org_label_schema_build_date=unknown |
| 19 | ARG org_opencord_vcs_commit_date=unknown |
| 20 | |
| 21 | LABEL org.label-schema.schema-version=$org_label_schema_schema_version \ |
| 22 | org.label-schema.name=$org_label_schema_name \ |
| 23 | org.label-schema.version=$org_label_schema_version \ |
| 24 | org.label-schema.vcs-url=$org_label_schema_vcs_url \ |
| 25 | org.label-schema.vcs-ref=$org_label_schema_vcs_ref \ |
| 26 | org.label-schema.build-date=$org_label_schema_build_date \ |
| 27 | org.opencord.vcs-commit-date=$org_opencord_vcs_commit_date |
| 28 | |
Scott Baker | 08a4df3 | 2017-03-15 14:13:59 -0700 | [diff] [blame] | 29 | CMD bash -c "cd /opt/xos/synchronizers/vtn; ./run-from-api.sh" |