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