Add distribution nonrtric
[oam.git] / distribution / nonrtric-o1-controller-frankfurt / src / main / docker / Dockerfile
1 # Base odl alpine with added packages needed for
2 FROM ${base.image.repo}
3 ENV SDNR_ORAN_REPO ${features.repo}
4 RUN sed -i -e "\|featuresRepositories|s|$|,${SDNR_ORAN_REPO}|"  $ODL_HOME/etc/org.apache.karaf.features.cfg
5 ENV SDNRWT_BOOTFEATURES ${features.boot}
6
7 USER root
8 # copy CCSDK mvn artifacts to ODL repository
9 COPY system /tmp/system
10 RUN rsync -a /tmp/system $ODL_HOME && rm -rf /tmp/system
11 RUN chown -R odl:odl $ODL_HOME
12 USER odl