blob: 6132284f1a87759219c0afc428cc234594408792 [file] [log] [blame]
Andy Bavier6a9fb8e2016-06-24 17:49:00 -04001FROM xosproject/cord-app-build
2MAINTAINER Andy Bavier <andy@onlab.us>
3
4WORKDIR /src
5RUN git clone https://gerrit.opencord.org/p/vtn.git && cd vtn && \
6 mvn clean install
7
Andy Baviere872eee2016-07-12 10:57:02 +02008CMD 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"