blob: d65444f00dc04bb149bcdc582614c069a736da10 [file] [log] [blame]
Zack Williams3f87fe92017-05-26 17:53:14 -07001# xosproject/vtn-synchronizer
Andy Bavier0e2744b2017-03-23 19:25:04 -04002FROM xosproject/xos-synchronizer-base:candidate
Scott Baker08a4df32017-03-15 14:13:59 -07003
Zack Williams240fe802017-04-27 21:21:23 -07004COPY . /opt/xos/synchronizers/vtn
Scott Baker08a4df32017-03-15 14:13:59 -07005
Zack Williams240fe802017-04-27 21:21:23 -07006COPY __init__.py /opt/xos/services/__init__.py
7COPY __init__.py vtnnetport.py /opt/xos/services/vtn/
Scott Baker08a4df32017-03-15 14:13:59 -07008
9ENTRYPOINT []
10
11WORKDIR "/opt/xos/synchronizers/vtn"
12
Zack Williams240fe802017-04-27 21:21:23 -070013# Label image
14ARG org_label_schema_schema_version=1.0
15ARG org_label_schema_name=vtn-synchronizer
16ARG org_label_schema_version=unknown
17ARG org_label_schema_vcs_url=unknown
18ARG org_label_schema_vcs_ref=unknown
19ARG org_label_schema_build_date=unknown
20ARG org_opencord_vcs_commit_date=unknown
Zack Williams3f87fe92017-05-26 17:53:14 -070021ARG org_opencord_component_chameleon_version=unknown
22ARG org_opencord_component_chameleon_vcs_url=unknown
23ARG org_opencord_component_chameleon_vcs_ref=unknown
24ARG org_opencord_component_xos_version=unknown
25ARG org_opencord_component_xos_vcs_url=unknown
26ARG org_opencord_component_xos_vcs_ref=unknown
Zack Williams240fe802017-04-27 21:21:23 -070027
28LABEL 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 Williams3f87fe92017-05-26 17:53:14 -070034 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 Williams240fe802017-04-27 21:21:23 -070041
Scott Baker08a4df32017-03-15 14:13:59 -070042CMD bash -c "cd /opt/xos/synchronizers/vtn; ./run-from-api.sh"