X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=Dockerfile;h=76b6fc59d89f3af293c30ff868ef666bfe0000a5;hb=14d6ef47de233ad6de8d06d55ec4b3216725c339;hp=15f89a8c25797fb3fcd26aa5d7dc15514bfe3980;hpb=db0a2ee4edd328449d01ab184d253327fca950d6;p=o-du%2Fl2.git diff --git a/Dockerfile b/Dockerfile index 15f89a8c2..76b6fc59d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,24 @@ -FROM nexus3.o-ran-sc.org:10004/o-ran-sc/bldr-ubuntu18-c-go:8-u18.04 as ubuntu +FROM nexus3.o-ran-sc.org:10002/o-ran-sc/bldr-ubuntu18-c-go:1.9.0 + +# ====================================================================== ADD . /opt/o-du-l2 WORKDIR /opt/o-du-l2 -RUN apt-get update && apt-get install -y libpcap-dev +RUN apt-get update && apt-get install -y libpcap-dev && apt-get install -y libxml2-dev RUN cd build/odu && make clean_odu odu MACHINE=BIT64 MODE=FDD -#CMD /opt/o-du-l2/bin/odu/odu -f ../config/ssi_mem +RUN cd build/odu && make clean_odu odu MACHINE=BIT64 MODE=TDD +#CMD /opt/o-du-l2/bin/odu/odu + +# add netconf user +RUN cd build/scripts && /bin/bash add_netconf_user.sh + +#cleanup netconf folder and install libraries +RUN cd build/scripts && /bin/bash install_lib_O1.sh -c + +# Install yang models and load initial configuration +RUN cd build/scripts && /bin/bash load_yang.sh + +RUN cd build/odu && make clean_odu odu MACHINE=BIT64 MODE=FDD O1_ENABLE=YES