-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoai
8 lines (8 loc) · 923 Bytes
/
oai
1
2
3
4
5
6
7
8
FROM flexric
WORKDIR /home
RUN wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | gpg --dearmor - | sudo tee /usr/share/keyrings/kitware-archive-keyring.gpg >/dev/null && sudo apt-get update
RUN sudo DEBIAN_FRONTEND=noninteractive add-apt-repository -y ppa:git-core/ppa && apt-get update && apt-get install -y git && git clone https://gitlab.eurecom.fr/oai/openairinterface5g.git oai && cd oai/ && git checkout 2022.41 && EMAIL=root@localhost git am ../flexric/multiRAT/oai/oai.patch --whitespace=nowarn && bash -c "source oaienv"
WORKDIR /home/oai/cmake_targets
RUN export BUILD_UHD_FROM_SOURCE=True && export UHD_VERSION=4.4.0.0 && cd cmake_targets && DEBIAN_FRONTEND=noninteractive ./build_oai -I -w USRP -i && DEBIAN_FRONTEND=noninteractive ./build_oai --eNB --gNB -c -C -w USRP --ninja --build-lib "nrscope" -c
WORKDIR /home
RUN python3 ../usr/local/lib/uhd/utils/uhd_images_downloader.py