Andy Bavier | 6a9fb8e | 2016-06-24 17:49:00 -0400 | [diff] [blame] | 1 | FROM xosproject/cord-app-build |
2 | MAINTAINER Andy Bavier <andy@onlab.us> | ||||
3 | |||||
4 | WORKDIR /src | ||||
5 | RUN git clone https://gerrit.opencord.org/p/vtn.git && cd vtn && \ | ||||
6 | mvn clean install | ||||
7 | |||||
8 | CMD bash -c "source /root/.bashrc; onos-app onos-cord-1 install /src/vtn/target/vtn-1.0-SNAPSHOT.oar && onos-app onos-cord-1 activate org.opencord.vtn" |