blob: bf6dddf73f9b509a83c03ae02e3381bc89821fc7 [file] [log] [blame]
Andy Bavier6a9fb8e2016-06-24 17:49:00 -04001FROM xosproject/cord-app-build
2MAINTAINER Andy Bavier <andy@onlab.us>
3
4WORKDIR /src
Andy Bavier4c739db2016-08-18 10:28:36 -04005RUN git clone -b cord-1.0 https://gerrit.opencord.org/p/config.git && cd config && \
Andy Bavier6a9fb8e2016-06-24 17:49:00 -04006 mvn clean install
7
Andy Bavier63de20b2016-07-12 10:57:02 +02008CMD bash -c "source /root/.bashrc; onos-app onos-cord-1 install /src/config/target/cord-config-*.oar && onos-app onos-cord-1 activate org.opencord.config"