FROM ubuntu:20.04 WORKDIR /root RUN apt-get update -y RUN apt-get install software-properties-common -y RUN apt-get install wget -y RUN apt-get install git -y RUN add-apt-repository ppa:ettusresearch/uhd -y RUN apt-get install libuhd-dev uhd-host -y RUN apt-get install libuhd-dev uhd-host -y RUN dpkg -i --force-overwrite /var/cache/apt/archives/libuhd4.2.0_4.2.0.1-0ubuntu1~focal1_amd64.deb; exit 0 RUN dpkg -i --force-overwrite /var/cache/apt/archives/libuhd4.4.0_4.4.0.0-0ubuntu1~focal1_amd64.deb; exit 0 RUN git clone https://gitlab.eurecom.fr/oai/openairinterface5g.git && cd openairinterface5g && git checkout develop RUN wget -O /root/openairinterface5g/targets/PROJECTS/GENERIC-NR-5GC/CONF/ue.conf https://projetos.imd.ufrn.br/reginalab/sdran-openairinterface/-/raw/main/openairinterface5g/openairinterface-conf/flexric_gNB_UE/ue.conf?inline=false RUN wget -O /root/openairinterface5g/targets/PROJECTS/GENERIC-NR-5GC/CONF/gnb.sa.band78.fr1.106PRB.usrpb210.conf https://projetos.imd.ufrn.br/reginalab/sdran-openairinterface/-/raw/main/openairinterface5g/openairinterface-conf/flexric_gNB_UE/gnb.sa.band78.fr1.106PRB.usrpb210.conf?inline=false RUN cd /root/openairinterface5g/cmake_targets && ./build_oai -I -w USRP -i && ./build_oai --gNB --nrUE -w USRP