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 |
Andy Bavier | 4c739db | 2016-08-18 10:28:36 -0400 | [diff] [blame^] | 5 | RUN git clone -b cord-1.0 https://gerrit.opencord.org/p/config.git && cd config && \ |
Andy Bavier | 6a9fb8e | 2016-06-24 17:49:00 -0400 | [diff] [blame] | 6 | mvn clean install |
| 7 | |
Andy Bavier | 63de20b | 2016-07-12 10:57:02 +0200 | [diff] [blame] | 8 | CMD 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" |