FROM xosproject/cord-app-build | |
MAINTAINER Andy Bavier <andy@onlab.us> | |
WORKDIR /src | |
RUN git clone https://gerrit.opencord.org/p/vtn.git && cd vtn && \ | |
mvn clean install | |
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" |