blob: c8a6fe50cf19a3b7834428ddf8822aabffcfb171 [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
alshabib7b0a4a92017-03-30 12:41:38 -050014RUN cd $ONOS/onos-apps/apps && mvn -DskipTests=true 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
alshabiba5514082017-03-31 11:08:27 -050022#RUN touch $ONOS/apps/org.onosproject.dhcp/active
23RUN touch $ONOS/apps/org.onosproject.hostprovider/active
Zsolt Haraszti3578a1c2017-01-10 15:29:02 -080024
alshabib9fbb2232016-12-23 00:40:08 -080025COPY config/netcfg.json $KARAF_ROOT/../config/network-cfg.json