added SDRplay
This commit is contained in:
+20
-4
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user