Merge "CI: Add silent cmake SonarCloud scan"
[o-du/l2.git] / Dockerfile
1 FROM nexus3.o-ran-sc.org:10002/o-ran-sc/bldr-ubuntu18-c-go:1.9.0
2
3 # ======================================================================
4
5 ADD . /opt/o-du-l2
6 WORKDIR /opt/o-du-l2
7
8 RUN apt-get update && apt-get install -y libpcap-dev && apt-get install -y libxml2-dev
9
10 RUN cd build/odu && make clean_odu odu MACHINE=BIT64 MODE=FDD
11
12 RUN cd build/odu && make clean_odu odu MACHINE=BIT64 MODE=TDD
13 #CMD /opt/o-du-l2/bin/odu/odu
14
15 # add netconf user
16 RUN cd build/scripts && /bin/bash add_netconf_user.sh
17
18 #cleanup netconf folder and install libraries
19 RUN cd build/scripts && /bin/bash install_lib_O1.sh -c
20
21 # Install yang models and load initial configuration
22 RUN cd build/scripts && /bin/bash load_yang.sh
23
24 RUN cd build/odu && make clean_odu odu MACHINE=BIT64 MODE=FDD O1_ENABLE=YES