blob: 9df3280f91cd3f9c1501b913ca5146b00919f7be [file] [log] [blame]
herbert5fed19f2020-03-11 18:38:19 +01001# Base odl alpine with added packages needed for
2FROM ${base.image.repo}
3ENV SDNR_ORAN_REPO ${features.repo}
4RUN sed -i -e "\|featuresRepositories|s|$|,${SDNR_ORAN_REPO}|" $ODL_HOME/etc/org.apache.karaf.features.cfg
5ENV SDNRWT_BOOTFEATURES ${features.boot}
6
7USER root
8# copy CCSDK mvn artifacts to ODL repository
9COPY system /tmp/system
10RUN rsync -a /tmp/system $ODL_HOME && rm -rf /tmp/system
11RUN chown -R odl:odl $ODL_HOME
12USER odl