blob: 3c5a8075d720f0043665cbb1cb1f6ffd7b9df195 [file] [log] [blame]
alshabib9fbb2232016-12-23 00:40:08 -08001FROM onosproject/onos:1.8
2
3MAINTAINER Zsolt Haraszti <zharaszt@ciena.com>
4MAINTAINER Ali Al-Shabibi <ali.al-shabibi@onlab.us>
5MAINTAINER Nathan Knuth <nathan.knuth@tibitcom.com>
6
alshabib7db13562017-01-09 21:21:34 -08007ENV APPS=/root/onos/apps ONOS=/root/onos KARAF_M2=/root/onos/apache-karaf-3.0.5/system VERSION=1.2-SNAPSHOT
8ENV AUX=$APPS/aux
alshabib9fbb2232016-12-23 00:40:08 -08009
alshabib7db13562017-01-09 21:21:34 -080010RUN 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 && \
alshabib9fbb2232016-12-23 00:40:08 -080013 git clone http://gerrit.opencord.org/aaa && \
14 git clone http://gerrit.opencord.org/config
15
alshabib7db13562017-01-09 21:21:34 -080016RUN cd $ONOS/olt && mvn clean install && cd $ONOS/config && mvn clean install && cd $ONOS/aaa && mvn clean install
17
18WORKDIR $ONOS
19
20COPY config/app-install.sh .
21
22RUN sh $ONOS/app-install.sh
alshabib9fbb2232016-12-23 00:40:08 -080023
24COPY config/netcfg.json $KARAF_ROOT/../config/network-cfg.json