herbert | 5fed19f | 2020-03-11 18:38:19 +0100 | [diff] [blame^] | 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 |