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 | |||||
Andy Bavier | e872eee | 2016-07-12 10:57:02 +0200 | [diff] [blame] | 8 | CMD bash -c "source /root/.bashrc; onos-app onos-cord-1 install /src/vtn/target/vtn-*.oar && onos-app onos-cord-1 activate org.opencord.vtn" |