X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=Dockerfile;h=84b83831cb3179034df65b748368625bceb359c3;hb=112672aee2b176d420e1474b13a5655c3d1e92b4;hp=6c0b7bf76017d60cb04fae8109f012d1a89c3d9f;hpb=34c7e2763182af6377e3a5529c2ed3e9264c1043;p=o-du%2Fl2.git diff --git a/Dockerfile b/Dockerfile index 6c0b7bf76..84b83831c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,24 @@ -FROM nexus3.o-ran-sc.org:10004/bldr-ubuntu16-c-go:2-u16.04-nng 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 cd build/odu && make clean_all odu MACHINE=BIT64 MODE=FDD +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 + +# 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 -#CMD /opt/o-du-l2/bin/odu/odu -f ../config/ssi_mem +RUN cd build/odu && make clean_odu odu MACHINE=BIT64 MODE=FDD O1_ENABLE=YES