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 | |
alshabib | 6f74664 | 2017-01-09 23:26:20 -0800 | [diff] [blame] | 10 | RUN apt-get update && apt-get install -y git maven unzip |
alshabib | 06b449c | 2017-01-15 17:33:16 -0600 | [diff] [blame] | 11 | RUN git config --global http.sslverify false && \ |
alshabib | 6f74664 | 2017-01-09 23:26:20 -0800 | [diff] [blame] | 12 | git clone https://alshabibi@bitbucket.org/alshabibi/onos-apps.git |
alshabib | 9fbb223 | 2016-12-23 00:40:08 -0800 | [diff] [blame] | 13 | |
alshabib | 6f74664 | 2017-01-09 23:26:20 -0800 | [diff] [blame] | 14 | RUN cd $ONOS/onos-apps/apps && mvn clean install |
alshabib | 7db1356 | 2017-01-09 21:21:34 -0800 | [diff] [blame] | 15 | |
| 16 | WORKDIR $ONOS |
| 17 | |
| 18 | COPY config/app-install.sh . |
| 19 | |
| 20 | RUN sh $ONOS/app-install.sh |
alshabib | 9fbb223 | 2016-12-23 00:40:08 -0800 | [diff] [blame] | 21 | |
Zsolt Haraszti | 3578a1c | 2017-01-10 15:29:02 -0800 | [diff] [blame] | 22 | RUN touch $ONOS/apps/org.onosproject.dhcp/active |
| 23 | |
alshabib | 9fbb223 | 2016-12-23 00:40:08 -0800 | [diff] [blame] | 24 | COPY config/netcfg.json $KARAF_ROOT/../config/network-cfg.json |