blob: 878c6026c3fa37c362bbe97f003e7a469f578830 [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
11RUN git config --global http.sslverify false && \
12 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
alshabib6f746642017-01-09 23:26:20 -080022# Disabling vtn,mcast and igmp
23RUN rm $ONOS/apps/org.opencord.mcast/active &&\
24 rm $ONOS/apps/org.opencord.igmp/active &&\
25 rm $ONOS/apps/org.opencord.vtn/active
26
Zsolt Haraszti3578a1c2017-01-10 15:29:02 -080027RUN touch $ONOS/apps/org.onosproject.dhcp/active
28
alshabib9fbb2232016-12-23 00:40:08 -080029COPY config/netcfg.json $KARAF_ROOT/../config/network-cfg.json