alshabib | 9fbb223 | 2016-12-23 00:40:08 -0800 | [diff] [blame] | 1 | FROM onosproject/onos:1.8 |
| 2 | |
| 3 | MAINTAINER Zsolt Haraszti <zharaszt@ciena.com> |
| 4 | MAINTAINER Ali Al-Shabibi <ali.al-shabibi@onlab.us> |
| 5 | MAINTAINER Nathan Knuth <nathan.knuth@tibitcom.com> |
| 6 | |
alshabib | 7db1356 | 2017-01-09 21:21:34 -0800 | [diff] [blame^] | 7 | ENV APPS=/root/onos/apps ONOS=/root/onos KARAF_M2=/root/onos/apache-karaf-3.0.5/system VERSION=1.2-SNAPSHOT |
| 8 | ENV AUX=$APPS/aux |
alshabib | 9fbb223 | 2016-12-23 00:40:08 -0800 | [diff] [blame] | 9 | |
alshabib | 7db1356 | 2017-01-09 21:21:34 -0800 | [diff] [blame^] | 10 | RUN apt-get update && apt-get install -y git maven unzip && \ |
| 11 | git config --global http.sslverify false && \ |
| 12 | git clone http://gerrit.opencord.org/olt && \ |
alshabib | 9fbb223 | 2016-12-23 00:40:08 -0800 | [diff] [blame] | 13 | git clone http://gerrit.opencord.org/aaa && \ |
| 14 | git clone http://gerrit.opencord.org/config |
| 15 | |
alshabib | 7db1356 | 2017-01-09 21:21:34 -0800 | [diff] [blame^] | 16 | RUN cd $ONOS/olt && mvn clean install && cd $ONOS/config && mvn clean install && cd $ONOS/aaa && mvn clean install |
| 17 | |
| 18 | WORKDIR $ONOS |
| 19 | |
| 20 | COPY config/app-install.sh . |
| 21 | |
| 22 | RUN sh $ONOS/app-install.sh |
alshabib | 9fbb223 | 2016-12-23 00:40:08 -0800 | [diff] [blame] | 23 | |
| 24 | COPY config/netcfg.json $KARAF_ROOT/../config/network-cfg.json |