added SDRplay

This commit is contained in:
2024-08-20 08:15:45 +02:00
parent c81c0ab32b
commit 22358847f7
5 changed files with 2312 additions and 5 deletions
+20 -4
View File
@@ -51,16 +51,32 @@ RUN make -j$(nproc)
RUN make install -j$(nproc)
RUN ldconfig
# ToDo:
# add SDRPlay API
# ADD https://github.com/pothosware/SoapySDRPlay.git
# SDRPlay API
WORKDIR /tmp/sources
COPY bin/SDRplay_RSP_API-Linux-3.15.2.run /tmp/sources/
RUN chmod +x SDRplay_RSP_API-Linux-3.15.2.run
RUN ./SDRplay_RSP_API-Linux-3.15.2.run --noexec --target sdrplay_api
WORKDIR ./sdrplay_api
COPY bin/install_lib.patch .
RUN patch install_lib.sh install_lib.patch
RUN ./install_lib.sh
RUN rm -rf /tmp/sources
# SoapySDRPlay
ADD https://github.com/pothosware/SoapySDRPlay.git /tmp/sources/SoapySDRPlay
WORKDIR /tmp/sources/SoapySDRPlay/build
RUN cmake ../
RUN make -j$(nproc)
RUN make install -j$(nproc)
RUN ldconfig
#RUN rm -rf /tmp/sources
# ----------------------------------------------------------------------------------------------------------------------------------------
# Add user
RUN useradd -m jens -p jens -s /usr/bin/bash
RUN echo jens:change_me | chpasswd
RUN echo root:root4me | chpasswd
WORKDIR /home/jens
RUN touch .Xauthority