alshabib | 9fbb223 | 2016-12-23 00:40:08 -0800 | [diff] [blame] | 1 | FROM onosproject/onos:1.8 |
| 2 | |
| 3 | MAINTAINER Zsolt Haraszti <zharaszt@ciena.com> |
| 4 | MAINTAINER Ali Al-Shabibi <ali.al-shabibi@onlab.us> |
| 5 | MAINTAINER Nathan Knuth <nathan.knuth@tibitcom.com> |
| 6 | |
alshabib | 7db1356 | 2017-01-09 21:21:34 -0800 | [diff] [blame] | 7 | ENV APPS=/root/onos/apps ONOS=/root/onos KARAF_M2=/root/onos/apache-karaf-3.0.5/system VERSION=1.2-SNAPSHOT |
| 8 | ENV AUX=$APPS/aux |
alshabib | 9fbb223 | 2016-12-23 00:40:08 -0800 | [diff] [blame] | 9 | |
schowdhury | cbbe327 | 2017-07-03 17:12:35 -0700 | [diff] [blame] | 10 | ENV 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 | |
alshabib | 6f74664 | 2017-01-09 23:26:20 -0800 | [diff] [blame] | 12 | RUN apt-get update && apt-get install -y git maven unzip |
alshabib | 06b449c | 2017-01-15 17:33:16 -0600 | [diff] [blame] | 13 | RUN git config --global http.sslverify false && \ |
alshabib | 6f74664 | 2017-01-09 23:26:20 -0800 | [diff] [blame] | 14 | git clone https://alshabibi@bitbucket.org/alshabibi/onos-apps.git |
alshabib | 9fbb223 | 2016-12-23 00:40:08 -0800 | [diff] [blame] | 15 | |
alshabib | 7b0a4a9 | 2017-03-30 12:41:38 -0500 | [diff] [blame] | 16 | RUN cd $ONOS/onos-apps/apps && mvn -DskipTests=true clean install |
alshabib | 7db1356 | 2017-01-09 21:21:34 -0800 | [diff] [blame] | 17 | |
| 18 | WORKDIR $ONOS |
| 19 | |
| 20 | COPY config/app-install.sh . |
| 21 | |
| 22 | RUN sh $ONOS/app-install.sh |
alshabib | 9fbb223 | 2016-12-23 00:40:08 -0800 | [diff] [blame] | 23 | |
alshabib | a551408 | 2017-03-31 11:08:27 -0500 | [diff] [blame] | 24 | #RUN touch $ONOS/apps/org.onosproject.dhcp/active |
| 25 | RUN touch $ONOS/apps/org.onosproject.hostprovider/active |
Zsolt Haraszti | 3578a1c | 2017-01-10 15:29:02 -0800 | [diff] [blame] | 26 | |
alshabib | 9fbb223 | 2016-12-23 00:40:08 -0800 | [diff] [blame] | 27 | COPY config/netcfg.json $KARAF_ROOT/../config/network-cfg.json |
schowdhury | cbbe327 | 2017-07-03 17:12:35 -0700 | [diff] [blame] | 28 | |
| 29 | # Create ONOS Key Directory |
| 30 | RUN mkdir -p /home/sdn/wiki |
| 31 | COPY onos_cfg/ /home/sdn/wiki |