Last active
March 25, 2023 16:35
-
-
Save 0x2f0713/d0b80030e0d4411997256475d3db86ae to your computer and use it in GitHub Desktop.
Docker build UHD, srsRAN, Open5Gs, Osmo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:18.04 | |
ENV DEBIAN_FRONTEND="noninteractive" | |
# ENV HTTP_PROXY here | |
RUN sed -i -e 's/archive.ubuntu.com/vn.archive.ubuntu.com/g' /etc/apt/sources.list && \ | |
sed -i -e 's/security.ubuntu.com/vn.archive.ubuntu.com/g' /etc/apt/sources.list && \ | |
apt-get update && \ | |
apt-get install -y \ | |
curl \ | |
ca-certificates \ | |
git \ | |
build-essential \ | |
cmake \ | |
libfftw3-dev \ | |
libmbedtls-dev \ | |
libboost-program-options-dev \ | |
libconfig++-dev \ | |
libsctp-dev \ | |
libsqlite3-dev | |
# Setup Certificate | |
# Compile UHD | |
RUN git clone https://github.com/srsRAN/srsRAN_4G.git && \ | |
mkdir srsRAN_4G/build && \ | |
cd srsRAN_4G/build && \ | |
cmake .. && \ | |
make -j 4 && \ | |
make install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:18.04 | |
ENV DEBIAN_FRONTEND="noninteractive" | |
# ENV HTTP_PROXY here | |
RUN sed -i -e 's/archive.ubuntu.com/vn.archive.ubuntu.com/g' /etc/apt/sources.list && \ | |
sed -i -e 's/security.ubuntu.com/vn.archive.ubuntu.com/g' /etc/apt/sources.list && \ | |
apt-get update && \ | |
apt-get install -y \ | |
curl \ | |
ca-certificates \ | |
autoconf \ | |
automake \ | |
build-essential \ | |
ccache \ | |
cmake \ | |
cpufrequtils \ | |
doxygen \ | |
ethtool \ | |
g++ \ | |
git \ | |
inetutils-tools \ | |
libboost-all-dev \ | |
libncurses5 \ | |
libncurses5-dev \ | |
libusb-1.0-0 \ | |
libusb-1.0-0-dev \ | |
libusb-dev \ | |
python3-dev \ | |
python3-mako \ | |
python3-numpy \ | |
python3-requests \ | |
python3-scipy \ | |
python3-setuptools \ | |
python3-ruamel.yaml | |
# Setup Certificate | |
# Compile UHD | |
RUN git clone https://github.com/EttusResearch/uhd && \ | |
mkdir uhd/host/build && \ | |
cd uhd/host/build && \ | |
cmake .. && \ | |
make -j 4 && \ | |
make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment