RF-Swift/sdr_light_from_corebuild.do...

62 lines
2.1 KiB
Docker

# This DockerFile is part of the RFSwift project
# Install type: SDR light from corebuild images
# Author(s): Sébastien Dudek (@FlUxIuS) @Penthertz
# website: penthertz.com
FROM penthertz/rfswift:corebuild
RUN echo 'APT::Install-Suggests "0";' >> /etc/apt/apt.conf.d/00-docker
RUN echo 'APT::Install-Recommends "0";' >> /etc/apt/apt.conf.d/00-docker
RUN apt-get update
RUN echo apt-fast apt-fast/maxdownloads string 10 | debconf-set-selections
RUN echo apt-fast apt-fast/dlflag boolean true | debconf-set-selections
RUN echo apt-fast apt-fast/aptmanager string apt-get | debconf-set-selections
COPY scripts /root/scripts/
COPY rules /root/rules/
COPY config /root/config/
WORKDIR /root/scripts/
RUN chmod +x entrypoint.sh
# Installing Devices
## Installing peripherals
RUN ./entrypoint.sh uhd_devices_install
#RUN ./entrypoint.sh antsdr_uhd_devices_install # Disable orignal UHD
RUN ./entrypoint.sh rtlsdr_devices_install
#RUN ./entrypoint.sh rtlsdrv4_devices_install # optionnal, remove rtlsdr_devices_install if you are using the v4 version
# Installing GNU Radio + extra OOT modules
RUN ./entrypoint.sh gnuradio_soft_install
RUN ./entrypoint.sh common_sources_and_sinks
RUN ./entrypoint.sh install_soapy_modules
RUN ./entrypoint.sh install_soapyPlutoSDR_modules
# SDR extra tools
RUN ./entrypoint.sh gps_sdr_sim_soft_install
RUN ./entrypoint.sh retrogram_soapysdr_soft_install
# Installing SA device modules
RUN ./entrypoint.sh kc908_sa_device # Note: Only works on x86_64
RUN ./entrypoint.sh signalhound_sa_device # Note: Only works on x86_64
RUN ./entrypoint.sh harogic_sa_device # working only on x86_64 and aarch64
# Calibration equipements
RUN ./entrypoint.sh leobodnarv1_cal_device
# Installing extra software
RUN ./entrypoint.sh jupiter_soft_install
RUN ./entrypoint.sh ml_and_dl_soft_install
RUN ./entrypoint.sh inspection_decoding_tools
RUN mkdir -p /sdrtools/
COPY run /sdrtools/run
# Cleaning and quitting
WORKDIR /root/
RUN rm -rf /root/thirdparty
RUN rm -rf /root/rules/
RUN rm -rf /root/config/
RUN apt-fast clean
RUN DEBIAN_FRONTEND=noninteractive rm -rf /var/lib/apt/lists/*