blob: 3c5a8075d720f0043665cbb1cb1f6ffd7b9df195 [file] [log] [blame]
FROM onosproject/onos:1.8
MAINTAINER Zsolt Haraszti <zharaszt@ciena.com>
MAINTAINER Ali Al-Shabibi <ali.al-shabibi@onlab.us>
MAINTAINER Nathan Knuth <nathan.knuth@tibitcom.com>
ENV APPS=/root/onos/apps ONOS=/root/onos KARAF_M2=/root/onos/apache-karaf-3.0.5/system VERSION=1.2-SNAPSHOT
ENV AUX=$APPS/aux
RUN apt-get update && apt-get install -y git maven unzip && \
git config --global http.sslverify false && \
git clone http://gerrit.opencord.org/olt && \
git clone http://gerrit.opencord.org/aaa && \
git clone http://gerrit.opencord.org/config
RUN cd $ONOS/olt && mvn clean install && cd $ONOS/config && mvn clean install && cd $ONOS/aaa && mvn clean install
WORKDIR $ONOS
COPY config/app-install.sh .
RUN sh $ONOS/app-install.sh
COPY config/netcfg.json $KARAF_ROOT/../config/network-cfg.json