X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=Dockerfile;h=02e0e275a250d77b7d807c082733b375def3d096;hb=refs%2Fchanges%2F45%2F6245%2F2;hp=a4c5584119b56ce4c553481895634ebea5bc2a78;hpb=b9a6860b8d95b57307e3e30b95642c83a762241e;p=o-du%2Fl2.git diff --git a/Dockerfile b/Dockerfile index a4c558411..02e0e275a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ FROM nexus3.o-ran-sc.org:10002/o-ran-sc/bldr-ubuntu18-c-go:1.9.0 # add netconf user RUN \ adduser --system netconf && \ - echo "netconf:netconf" | chpasswd + echo "netconf:netconf!" | chpasswd # generate ssh keys for netconf user RUN \ @@ -21,12 +21,13 @@ RUN apt-get update && apt-get install -y libpcap-dev RUN cd build/odu && make clean_odu odu MACHINE=BIT64 MODE=FDD +RUN cd build/odu && make clean_odu odu MACHINE=BIT64 MODE=TDD #CMD /opt/o-du-l2/bin/odu/odu #cleanup netconf folder and install libraries -RUN cd build/o1 && rm -rf netconf && /bin/bash install_lib.sh -c - -#RUN cd build/o1 && make o1 MACHINE=BIT64 #temporary fix +RUN cd build/scripts && /bin/bash install_lib_O1.sh -c # Install the data models based on the ODU yang model -RUN /usr/local/bin/sysrepoctl -i build/o1/yang/o-ran-sc-odu-alarm-v1.yang +RUN /usr/local/bin/sysrepoctl -i build/yang/o-ran-sc-odu-alarm-v1.yang + +RUN cd build/odu && make clean_odu odu MACHINE=BIT64 MODE=FDD O1_ENABLE=YES