blob: 37bdad0f4911d54a29f2fc9054dfa8d813dda46f [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
schowdhurycbbe3272017-07-03 17:12:35 -070010ENV JAVA_OPTS="${JAVA_OPTS:--DenableOFTLS=true -Djavax.net.ssl.keyStore=/home/sdn/wiki/onos.jks -Djavax.net.ssl.keyStorePassword=222222 -Djavax.net.ssl.trustStore=/home/sdn/wiki/onos.jks -Djavax.net.ssl.trustStorePassword=222222}"
11
alshabib6f746642017-01-09 23:26:20 -080012RUN apt-get update && apt-get install -y git maven unzip
alshabib06b449c2017-01-15 17:33:16 -060013RUN git config --global http.sslverify false && \
alshabib6f746642017-01-09 23:26:20 -080014 git clone https://alshabibi@bitbucket.org/alshabibi/onos-apps.git
alshabib9fbb2232016-12-23 00:40:08 -080015
alshabib7b0a4a92017-03-30 12:41:38 -050016RUN cd $ONOS/onos-apps/apps && mvn -DskipTests=true clean install
alshabib7db13562017-01-09 21:21:34 -080017
18WORKDIR $ONOS
19
20COPY config/app-install.sh .
21
22RUN sh $ONOS/app-install.sh
alshabib9fbb2232016-12-23 00:40:08 -080023
alshabiba5514082017-03-31 11:08:27 -050024#RUN touch $ONOS/apps/org.onosproject.dhcp/active
25RUN touch $ONOS/apps/org.onosproject.hostprovider/active
Zsolt Haraszti3578a1c2017-01-10 15:29:02 -080026
alshabib9fbb2232016-12-23 00:40:08 -080027COPY config/netcfg.json $KARAF_ROOT/../config/network-cfg.json
schowdhurycbbe3272017-07-03 17:12:35 -070028
29# Create ONOS Key Directory
30RUN mkdir -p /home/sdn/wiki
31COPY onos_cfg/ /home/sdn/wiki