blob: eafa8921c0c9de03c134f112bfca7551c588342e [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
alshabib6f746642017-01-09 23:26:20 -080010RUN apt-get update && apt-get install -y git maven unzip
alshabib06b449c2017-01-15 17:33:16 -060011RUN git config --global http.sslverify false && \
alshabib6f746642017-01-09 23:26:20 -080012 git clone https://alshabibi@bitbucket.org/alshabibi/onos-apps.git
alshabib9fbb2232016-12-23 00:40:08 -080013
alshabib6f746642017-01-09 23:26:20 -080014RUN cd $ONOS/onos-apps/apps && mvn clean install
alshabib7db13562017-01-09 21:21:34 -080015
16WORKDIR $ONOS
17
18COPY config/app-install.sh .
19
20RUN sh $ONOS/app-install.sh
alshabib9fbb2232016-12-23 00:40:08 -080021
Zsolt Haraszti3578a1c2017-01-10 15:29:02 -080022RUN touch $ONOS/apps/org.onosproject.dhcp/active
23
alshabib9fbb2232016-12-23 00:40:08 -080024COPY config/netcfg.json $KARAF_ROOT/../config/network-cfg.json