blob: 2091da6175ca8b3c0e8d3d74aaafea4007458f34 [file] [log] [blame]
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"