Updating Docker files

This commit is contained in:
FlUxIuS 2024-06-24 21:16:55 +02:00
parent 1e80ea1fed
commit e20727c230
No known key found for this signature in database
GPG Key ID: E8B96449EE4FA72F
3 changed files with 103 additions and 20 deletions

View File

@ -18,7 +18,8 @@ RUN DEBIAN_FRONTEND=noninteractive \
texlive liblog4cpp5-dev libcurl4-gnutls-dev libpcap-dev libgtk-3-dev \
qtcreator qtcreator-data qtcreator-doc qtbase5-examples qtbase5-doc-html \
qtbase5-dev qtbase5-private-dev libqt5opengl5-dev libqt5svg5-dev \
libcanberra-gtk-module libcanberra-gtk3-module unity-tweak-tool libhdf5-dev
libcanberra-gtk-module libcanberra-gtk3-module unity-tweak-tool libhdf5-dev \
libreadline-dev automake
RUN DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC \
apt-get install tzdata
@ -33,43 +34,70 @@ RUN echo apt-fast apt-fast/aptmanager string apt-get | debconf-set-selections
RUN apt-get -y install apt-fast python3-matplotlib
# Audio part
RUN apt-fast install -y pulseaudio-utils pulseaudio libasound2-dev libavahi-client-dev --no-install-recommends
COPY scripts /root/scripts/
COPY rules /root/rules/
COPY config /root/config/
WORKDIR /root/scripts/
RUN chmod +x entrypoint.sh
# Audio part
RUN apt-fast install -y pulseaudio-utils pulseaudio libasound2-dev libavahi-client-dev --no-install-recommends
# Installing Devices
## Installing peripherals
RUN ./entrypoint.sh ad_devices_install
#RUN ./entrypoint.sh uhd_devices_install # to install after
#RUN ./entrypoint.sh antsdr_uhd_devices_install # Disable orignal UHD
RUN ./entrypoint.sh nuand_devices_install
#RUN ./entrypoint.sh nuand_devices_fromsource_install
RUN ./entrypoint.sh hackrf_devices_install
RUN ./entrypoint.sh airspy_devices_install
RUN ./entrypoint.sh limesdr_devices_install
#RUN ./entrypoint.sh rtlsdr_devices_install to install later
#RUN ./entrypoint.sh rtlsdrv4_devices_install # optionnal, remove rtlsdr_devices_install if you are using the v4 version
FROM base as sdr1
##################
# SDR1
##################
FROM base as sdrlight
# Installing Devices
## Installing extra peripherals
RUN ./entrypoint.sh uhd_devices_install
#RUN ./entrypoint.sh uhd_devices_fromsource_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
# Installing GNU Radio + some 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
# Installing some software
RUN ./entrypoint.sh inspection_decoding_tools
RUN ./entrypoint.sh retrogram_soapysdr_soft_install
# SDR extra tools
RUN ./entrypoint.sh sdrpp_soft_fromsource_install # replace to 'sdrpp_soft_install' if you see bugs
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
FROM sdr1 as sdr2
# Installing extra OOT modules
# Installing extra software
RUN ./entrypoint.sh jupiter_soft_install
RUN ./entrypoint.sh inspection_decoding_tools
##################
# SDR2
##################
FROM sdrlight as sdrfull
# Installing GNU Radio + extra OOT modules
RUN ./entrypoint.sh grgsm_grmod_install
RUN ./entrypoint.sh grlora_grmod_install
RUN ./entrypoint.sh grlorasdr_grmod_install
@ -114,27 +142,39 @@ RUN ./entrypoint.sh grfhss_utils_grmod_install # depends on 'grpdu_utils_grmod_i
# Installing gr-fosphor with OpenCL
#RUN ./entrypoint.sh grfosphor_grmod_install
# Installing cyberther with OpenCL
RUN ./entrypoint.sh cyberther_soft_install
# Installing CyberEther
RUN ./entrypoint.sh cyberther_soft_install # Enabe OpenCL for better exp
# Installing softwares
RUN ./entrypoint.sh sdrangel_soft_install
#RUN ./entrypoint.sh sdrangel_soft_install
RUN ./entrypoint.sh sdrangel_soft_fromsource_install
RUN ./entrypoint.sh sdrpp_soft_fromsource_install # replace to 'sdrpp_soft_install' if you see bugs
RUN ./entrypoint.sh sigdigger_soft_install
RUN ./entrypoint.sh qsstv_soft_install
RUN ./entrypoint.sh ice9_bluetooth_soft_install
RUN ./entrypoint.sh gps_sdr_sim_soft_install
RUN ./entrypoint.sh meshtastic_sdr_soft_install
RUN ./entrypoint.sh gps_sdr_sim_soft_install
RUN ./entrypoint.sh nfclaboratory_soft_install
FROM sdr2 as otherrftools
# Installing extra software
RUN ./entrypoint.sh ml_and_dl_soft_install
##################
# RFID
##################
# Tools for RFID
FROM base as rfid
RUN ./entrypoint.sh proxmark3_soft_install
RUN ./entrypoint.sh libnfc_soft_install
RUN ./entrypoint.sh mfoc_soft_install
RUN ./entrypoint.sh mfcuk_soft_install
RUN ./entrypoint.sh mfread_soft_install
##################
# Wi-Fi
##################
# Tools for Wi-Fi
FROM base as wifi
RUN ./entrypoint.sh common_nettools
RUN ./entrypoint.sh aircrack_soft_install
RUN ./entrypoint.sh reaver_soft_install
@ -148,16 +188,23 @@ RUN ./entrypoint.sh wifite2_soft_install
# Installing bettecap tool
RUN ./entrypoint.sh bettercap_soft_install
##################
# Bluetooth
##################
FROM base as bluetooth
# Installing bettecap tool
RUN ./entrypoint.sh bettercap_soft_install
# Tools for Bluetooth #TODO: more more!
RUN ./entrypoint.sh blueztools_soft_install
# Tools for Bluetooth LE
RUN ./entrypoint.sh mirage_soft_install # TODO: In progress
# Installing extra software
RUN ./entrypoint.sh jupiter_soft_install
RUN ./entrypoint.sh ml_and_dl_soft_install
##################
# Reversing
##################
FROM base as reversing
# Installing reversing software
RUN ./entrypoint.sh kataistruct_soft_install
RUN ./entrypoint.sh unicorn_soft_install

View File

@ -16,5 +16,8 @@ wifi: common
bluetooth: common
docker build -f bluetooth.docker -t bluetooth:latest ..
build: sdrfull bluetooth wifi rfid
reversing: common
docker build -f reversing.docker -t reversing:latest ..
build: sdrfull bluetooth wifi rfid reversing
echo "Done!"

View File

@ -0,0 +1,33 @@
# This DockerFile is part of the RFSwift project
# Install type: Reversing
# Author(s): Sébastien Dudek (@FlUxIuS) @Penthertz
# website: penthertz.com
FROM corebuild:latest
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-fast update
COPY scripts /root/scripts/
COPY rules /root/rules/
WORKDIR /root/scripts/
RUN chmod +x entrypoint.sh
# Installing Reversing tools
RUN ./entrypoint.sh kataistruct_soft_install
RUN ./entrypoint.sh unicorn_soft_install
RUN ./entrypoint.sh keystone_soft_install
RUN ./entrypoint.sh radare2_soft_install
RUN ./entrypoint.sh ghidra_soft_install
RUN ./entrypoint.sh binwalk_soft_install
#RUN ./entrypoint.sh cutter_soft_install #TODO: fix install
# Cleaning and quitting
WORKDIR /root/
#RUN rm -rf /root/scripts/
RUN rm -rf /root/rules/
RUN rm -rf /root/thirdparty
RUN apt-fast clean
RUN DEBIAN_FRONTEND=noninteractive rm -rf /var/lib/apt/lists/*