-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ee9bd30
commit 6afd4ac
Showing
1 changed file
with
57 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
FROM gcc:11.1.0 | ||
|
||
ARG SRSRAN_VERSION=21_04_pre | ||
|
||
ARG LIBZMQ_VERSION=4.3.4 | ||
|
||
ARG CZMQ_VERSION=4.2.1 | ||
|
||
RUN apt update && \ | ||
apt install -y \ | ||
cmake \ | ||
fftw3-dev \ | ||
libuhd-dev \ | ||
libsctp-dev \ | ||
libzmq3-dev \ | ||
libboost-dev \ | ||
libmbedtls-dev \ | ||
libbladerf-dev \ | ||
libpcsclite-dev \ | ||
libsoapysdr-dev \ | ||
libconfig++-dev | ||
|
||
WORKDIR /tmp | ||
|
||
ADD https://github.com/srsran/srsRAN/archive/refs/tags/release_${SRSRAN_VERSION}.zip . | ||
|
||
ADD https://github.com/zeromq/libzmq/archive/refs/tags/v${LIBZMQ_VERSION}.zip . | ||
|
||
ADD https://github.com/zeromq/czmq/archive/refs/tags/v${CZMQ_VERSION}.zip . | ||
|
||
RUN unzip release_${SRSRAN_VERSION}.zip && \ | ||
unzip v${LIBZMQ_VERSION}.zip && \ | ||
unzip v${CZMQ_VERSION}.zip && \ | ||
rm *.zip | ||
|
||
WORKDIR /tmp/libzmq-${LIBZMQ_VERSION} | ||
|
||
RUN ./autogen.sh && \ | ||
./configure && \ | ||
make && \ | ||
make install && \ | ||
ldconfig | ||
|
||
WORKDIR /tmp/czmq-${CZMQ_VERSION} | ||
|
||
RUN ./autogen.sh && \ | ||
./configure && \ | ||
make && \ | ||
make install && \ | ||
ldconfig | ||
|
||
WORKDIR /tmp/srsRAN-release_${SRSRAN_VERSION}/build | ||
|
||
RUN cmake .. | ||
# RUN cmake .. && \ | ||
# make | ||
|