blob: 2d619a40c6eb0355eed02d2b4a5c8d3a8c53efdc [file] [log] [blame]
Andy Bavier0e2744b2017-03-23 19:25:04 -04001FROM xosproject/xos-synchronizer-base:candidate
Scott Baker08a4df32017-03-15 14:13:59 -07002
Zack Williams240fe802017-04-27 21:21:23 -07003COPY . /opt/xos/synchronizers/vtn
Scott Baker08a4df32017-03-15 14:13:59 -07004
Zack Williams240fe802017-04-27 21:21:23 -07005COPY __init__.py /opt/xos/services/__init__.py
6COPY __init__.py vtnnetport.py /opt/xos/services/vtn/
Scott Baker08a4df32017-03-15 14:13:59 -07007
8ENTRYPOINT []
9
10WORKDIR "/opt/xos/synchronizers/vtn"
11
Zack Williams240fe802017-04-27 21:21:23 -070012# Label image
13ARG org_label_schema_schema_version=1.0
14ARG org_label_schema_name=vtn-synchronizer
15ARG org_label_schema_version=unknown
16ARG org_label_schema_vcs_url=unknown
17ARG org_label_schema_vcs_ref=unknown
18ARG org_label_schema_build_date=unknown
19ARG org_opencord_vcs_commit_date=unknown
20
21LABEL 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 Baker08a4df32017-03-15 14:13:59 -070029CMD bash -c "cd /opt/xos/synchronizers/vtn; ./run-from-api.sh"