Reorganizing Dockerfiles, and introducing multi-stage for optimization. Including also some dependencies for ARM64 build
This commit is contained in:
parent
2df22d43fc
commit
dd59b48d2c
|
@ -14,5 +14,9 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Build the core image
|
||||||
|
run: docker build . --file Dockerfiles/SDR/corebuild.docker --tag corebuild:latest
|
||||||
|
|
||||||
- name: Build the full Docker image
|
- name: Build the full Docker image
|
||||||
run: docker build . --file bluetooth.docker --tag rfswift_bluetooth:$(date +%s)
|
run: docker build . --file Dockerfiles/bluetooth.docker --tag rfswift_bluetooth:$(date +%s)
|
||||||
|
|
|
@ -14,5 +14,9 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Build the core image
|
||||||
|
run: docker build . --file Dockerfiles/SDR/corebuild.docker --tag corebuild:latest
|
||||||
|
|
||||||
- name: Build the full Docker image
|
- name: Build the full Docker image
|
||||||
run: docker build . --file rfid.docker --tag rfswift_rfid:$(date +%s)
|
run: docker build . --file Dockerfiles/rfid.docker --tag rfswift_rfid:$(date +%s)
|
||||||
|
|
|
@ -14,5 +14,11 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Build the full Docker image
|
- name: Build the core image
|
||||||
run: docker build . --file sdr_full.docker --tag rfswift_sdrfull:$(date +%s)
|
run: docker build . --file Dockerfiles/SDR/corebuild.docker --tag corebuild:latest
|
||||||
|
|
||||||
|
- name: Build the light stage for SDR
|
||||||
|
run: docker build . --file Dockerfiles/SDR/sdr_light.docker --tag sdr_light:latest
|
||||||
|
|
||||||
|
- name: Build the full SDR image
|
||||||
|
run: docker build . --file Dockerfiles/SDR/sdr_full.docker --tag sdr_full:latest
|
||||||
|
|
|
@ -14,5 +14,9 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Build the core image
|
||||||
|
run: docker build . --file Dockerfiles/SDR/corebuild.docker --tag corebuild:latest
|
||||||
|
|
||||||
- name: Build the full Docker image
|
- name: Build the full Docker image
|
||||||
run: docker build . --file wifi.docker --tag rfswift_wifi:$(date +%s)
|
run: docker build . --file Dockerfiles/wifi.docker --tag rfswift_wifi:$(date +%s)
|
||||||
|
|
38
Dockerfile
38
Dockerfile
|
@ -3,7 +3,7 @@
|
||||||
# Author(s): Sébastien Dudek (@FlUxIuS) @Penthertz
|
# Author(s): Sébastien Dudek (@FlUxIuS) @Penthertz
|
||||||
# website: penthertz.com
|
# website: penthertz.com
|
||||||
|
|
||||||
FROM ubuntu:22.04
|
FROM ubuntu:22.04 as base
|
||||||
RUN echo 'APT::Install-Suggests "0";' >> /etc/apt/apt.conf.d/00-docker
|
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 echo 'APT::Install-Recommends "0";' >> /etc/apt/apt.conf.d/00-docker
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@ RUN DEBIAN_FRONTEND=noninteractive \
|
||||||
texlive liblog4cpp5-dev libcurl4-gnutls-dev libpcap-dev libgtk-3-dev \
|
texlive liblog4cpp5-dev libcurl4-gnutls-dev libpcap-dev libgtk-3-dev \
|
||||||
qtcreator qtcreator-data qtcreator-doc qtbase5-examples qtbase5-doc-html \
|
qtcreator qtcreator-data qtcreator-doc qtbase5-examples qtbase5-doc-html \
|
||||||
qtbase5-dev qtbase5-private-dev libqt5opengl5-dev libqt5svg5-dev \
|
qtbase5-dev qtbase5-private-dev libqt5opengl5-dev libqt5svg5-dev \
|
||||||
libcanberra-gtk-module libcanberra-gtk3-module unity-tweak-tool
|
libcanberra-gtk-module libcanberra-gtk3-module unity-tweak-tool libhdf5-dev
|
||||||
|
|
||||||
RUN DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC \
|
RUN DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC \
|
||||||
apt-get install tzdata
|
apt-get install tzdata
|
||||||
|
@ -36,30 +36,41 @@ RUN apt-get -y install apt-fast python3-matplotlib
|
||||||
COPY scripts /root/scripts/
|
COPY scripts /root/scripts/
|
||||||
COPY rules /root/rules/
|
COPY rules /root/rules/
|
||||||
COPY config /root/config/
|
COPY config /root/config/
|
||||||
|
|
||||||
WORKDIR /root/scripts/
|
WORKDIR /root/scripts/
|
||||||
RUN chmod +x entrypoint.sh
|
RUN chmod +x entrypoint.sh
|
||||||
|
|
||||||
# Audio part
|
# Audio part
|
||||||
RUN apt-fast install -y pulseaudio-utils pulseaudio libasound2-dev libavahi-client-dev --no-install-recommends
|
RUN apt-fast install -y pulseaudio-utils pulseaudio libasound2-dev libavahi-client-dev --no-install-recommends
|
||||||
|
|
||||||
## Installing peripherals
|
## Installing peripherals
|
||||||
RUN ./entrypoint.sh ad_devices_install
|
RUN ./entrypoint.sh ad_devices_install
|
||||||
RUN ./entrypoint.sh uhd_devices_install
|
|
||||||
#RUN ./entrypoint.sh antsdr_uhd_devices_install # Disable orignal UHD
|
|
||||||
RUN ./entrypoint.sh nuand_devices_install
|
RUN ./entrypoint.sh nuand_devices_install
|
||||||
RUN ./entrypoint.sh hackrf_devices_install
|
RUN ./entrypoint.sh hackrf_devices_install
|
||||||
RUN ./entrypoint.sh airspy_devices_install
|
RUN ./entrypoint.sh airspy_devices_install
|
||||||
RUN ./entrypoint.sh limesdr_devices_install
|
RUN ./entrypoint.sh limesdr_devices_install
|
||||||
|
|
||||||
|
FROM base as sdr1
|
||||||
|
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 rtlsdr_devices_install
|
||||||
#RUN ./entrypoint.sh rtlsdrv4_devices_install # optionnal, remove rtlsdr_devices_install if you are using the v4 version
|
#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 + extra OOT modules
|
||||||
RUN ./entrypoint.sh gnuradio_soft_install
|
RUN ./entrypoint.sh gnuradio_soft_install
|
||||||
RUN ./entrypoint.sh common_sources_and_sinks
|
RUN ./entrypoint.sh common_sources_and_sinks
|
||||||
RUN ./entrypoint.sh grgsm_grmod_install
|
|
||||||
RUN ./entrypoint.sh install_soapy_modules
|
RUN ./entrypoint.sh install_soapy_modules
|
||||||
RUN ./entrypoint.sh install_soapyPlutoSDR_modules
|
RUN ./entrypoint.sh install_soapyPlutoSDR_modules
|
||||||
|
# Installing some software
|
||||||
|
RUN ./entrypoint.sh inspection_decoding_tools
|
||||||
|
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
|
||||||
|
RUN ./entrypoint.sh grgsm_grmod_install
|
||||||
RUN ./entrypoint.sh grlora_grmod_install
|
RUN ./entrypoint.sh grlora_grmod_install
|
||||||
RUN ./entrypoint.sh grlorasdr_grmod_install
|
RUN ./entrypoint.sh grlorasdr_grmod_install
|
||||||
RUN ./entrypoint.sh griridium_grmod_install
|
RUN ./entrypoint.sh griridium_grmod_install
|
||||||
|
@ -110,21 +121,12 @@ RUN ./entrypoint.sh cyberther_soft_install
|
||||||
RUN ./entrypoint.sh sdrangel_soft_install
|
RUN ./entrypoint.sh sdrangel_soft_install
|
||||||
RUN ./entrypoint.sh sdrpp_soft_fromsource_install # replace to 'sdrpp_soft_install' if you see bugs
|
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 sigdigger_soft_install
|
||||||
RUN ./entrypoint.sh inspection_decoding_tools
|
|
||||||
RUN ./entrypoint.sh qsstv_soft_install
|
RUN ./entrypoint.sh qsstv_soft_install
|
||||||
RUN ./entrypoint.sh ice9_bluetooth_soft_install
|
RUN ./entrypoint.sh ice9_bluetooth_soft_install
|
||||||
RUN ./entrypoint.sh gps_sdr_sim_soft_install
|
RUN ./entrypoint.sh gps_sdr_sim_soft_install
|
||||||
RUN ./entrypoint.sh retrogram_soapysdr_soft_install # enable by uncommenting
|
|
||||||
RUN ./entrypoint.sh meshtastic_sdr_soft_install
|
RUN ./entrypoint.sh meshtastic_sdr_soft_install
|
||||||
|
|
||||||
# Installing SA device modules
|
FROM sdr2 as otherrftools
|
||||||
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
|
|
||||||
|
|
||||||
# Tools for RFID
|
# Tools for RFID
|
||||||
RUN ./entrypoint.sh proxmark3_soft_install
|
RUN ./entrypoint.sh proxmark3_soft_install
|
||||||
RUN ./entrypoint.sh libnfc_soft_install
|
RUN ./entrypoint.sh libnfc_soft_install
|
||||||
|
|
|
@ -0,0 +1,20 @@
|
||||||
|
common:
|
||||||
|
docker build -f SDR/corebuild.docker -t corebuild:latest ..
|
||||||
|
|
||||||
|
sdrlight: common
|
||||||
|
docker build -f SDR/sdr_light.docker -t sdr_light:latest ..
|
||||||
|
|
||||||
|
sdrfull: common sdrlight
|
||||||
|
docker build -f SDR/sdr_full.docker -t sdr_full:latest ..
|
||||||
|
|
||||||
|
rfid: common
|
||||||
|
docker build -f SDR/rfid.docker -t rfid:latest ..
|
||||||
|
|
||||||
|
wifi: common
|
||||||
|
docker build -f SDR/wifi.docker -t wifi:latest ..
|
||||||
|
|
||||||
|
bluetooth: common
|
||||||
|
docker build -f SDR/bluetooth.docker -t bluetooth:latest ..
|
||||||
|
|
||||||
|
build: sdrfull bluetooth wifi rfid
|
||||||
|
echo "Done!"
|
|
@ -2,6 +2,7 @@
|
||||||
# Install type: subbuild for SDR
|
# Install type: subbuild for SDR
|
||||||
# Author(s): Sébastien Dudek (@FlUxIuS) @Penthertz
|
# Author(s): Sébastien Dudek (@FlUxIuS) @Penthertz
|
||||||
# website: penthertz.com
|
# website: penthertz.com
|
||||||
|
|
||||||
FROM ubuntu:22.04
|
FROM ubuntu:22.04
|
||||||
RUN echo 'APT::Install-Suggests "0";' >> /etc/apt/apt.conf.d/00-docker
|
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 echo 'APT::Install-Recommends "0";' >> /etc/apt/apt.conf.d/00-docker
|
||||||
|
@ -17,7 +18,7 @@ RUN DEBIAN_FRONTEND=noninteractive \
|
||||||
texlive liblog4cpp5-dev libcurl4-gnutls-dev libpcap-dev libgtk-3-dev \
|
texlive liblog4cpp5-dev libcurl4-gnutls-dev libpcap-dev libgtk-3-dev \
|
||||||
qtcreator qtcreator-data qtcreator-doc qtbase5-examples qtbase5-doc-html \
|
qtcreator qtcreator-data qtcreator-doc qtbase5-examples qtbase5-doc-html \
|
||||||
qtbase5-dev qtbase5-private-dev libqt5opengl5-dev libqt5svg5-dev \
|
qtbase5-dev qtbase5-private-dev libqt5opengl5-dev libqt5svg5-dev \
|
||||||
libcanberra-gtk-module libcanberra-gtk3-module unity-tweak-tool
|
libcanberra-gtk-module libcanberra-gtk3-module unity-tweak-tool libhdf5-dev
|
||||||
|
|
||||||
RUN DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC \
|
RUN DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC \
|
||||||
apt-get install tzdata
|
apt-get install tzdata
|
|
@ -3,38 +3,11 @@
|
||||||
# Author(s): Sébastien Dudek (@FlUxIuS) @Penthertz
|
# Author(s): Sébastien Dudek (@FlUxIuS) @Penthertz
|
||||||
# website: penthertz.com
|
# website: penthertz.com
|
||||||
|
|
||||||
FROM ubuntu:22.04
|
FROM sdr_light:latest
|
||||||
RUN echo 'APT::Install-Suggests "0";' >> /etc/apt/apt.conf.d/00-docker
|
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 echo 'APT::Install-Recommends "0";' >> /etc/apt/apt.conf.d/00-docker
|
||||||
|
|
||||||
# Installing basic packages
|
RUN apt-fast update
|
||||||
RUN DEBIAN_FRONTEND=noninteractive \
|
|
||||||
apt-get update \
|
|
||||||
&& apt-get install -y python3 wget curl sudo software-properties-common \
|
|
||||||
gpg-agent pulseaudio udev python3-packaging vim autoconf build-essential \
|
|
||||||
build-essential cmake python3-pip libsndfile-dev scapy screen tcpdump \
|
|
||||||
qt5-qmake qtbase5-dev xterm libusb-1.0-0-dev pkg-config git apt-utils \
|
|
||||||
libusb-1.0-0 libncurses5-dev libtecla1 libtecla-dev dialog procps unzip \
|
|
||||||
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
|
|
||||||
|
|
||||||
RUN DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC \
|
|
||||||
apt-get install tzdata
|
|
||||||
|
|
||||||
# Installing apt-fast wrapper
|
|
||||||
RUN DEBIAN_FRONTEND=noninteractive \
|
|
||||||
apt-add-repository ppa:apt-fast/stable -y
|
|
||||||
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
|
|
||||||
|
|
||||||
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 scripts /root/scripts/
|
||||||
COPY rules /root/rules/
|
COPY rules /root/rules/
|
||||||
|
@ -43,25 +16,8 @@ COPY config /root/config/
|
||||||
WORKDIR /root/scripts/
|
WORKDIR /root/scripts/
|
||||||
RUN chmod +x entrypoint.sh
|
RUN chmod +x entrypoint.sh
|
||||||
|
|
||||||
# Installing Devices
|
|
||||||
|
|
||||||
## Installing peripherals
|
|
||||||
RUN ./entrypoint.sh ad_devices_install
|
|
||||||
RUN ./entrypoint.sh uhd_devices_install
|
|
||||||
#RUN ./entrypoint.sh antsdr_uhd_devices_install # Disable orignal UHD
|
|
||||||
RUN ./entrypoint.sh nuand_devices_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
|
|
||||||
#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 + extra OOT modules
|
||||||
RUN ./entrypoint.sh gnuradio_soft_install
|
|
||||||
RUN ./entrypoint.sh common_sources_and_sinks
|
|
||||||
RUN ./entrypoint.sh grgsm_grmod_install
|
RUN ./entrypoint.sh grgsm_grmod_install
|
||||||
RUN ./entrypoint.sh install_soapy_modules
|
|
||||||
RUN ./entrypoint.sh install_soapyPlutoSDR_modules
|
|
||||||
RUN ./entrypoint.sh grlora_grmod_install
|
RUN ./entrypoint.sh grlora_grmod_install
|
||||||
RUN ./entrypoint.sh grlorasdr_grmod_install
|
RUN ./entrypoint.sh grlorasdr_grmod_install
|
||||||
RUN ./entrypoint.sh griridium_grmod_install
|
RUN ./entrypoint.sh griridium_grmod_install
|
||||||
|
@ -112,23 +68,12 @@ RUN ./entrypoint.sh cyberther_soft_install # Enabe OpenCL for better exp
|
||||||
RUN ./entrypoint.sh sdrangel_soft_install
|
RUN ./entrypoint.sh sdrangel_soft_install
|
||||||
RUN ./entrypoint.sh sdrpp_soft_fromsource_install # replace to 'sdrpp_soft_install' if you see bugs
|
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 sigdigger_soft_install
|
||||||
RUN ./entrypoint.sh inspection_decoding_tools
|
|
||||||
RUN ./entrypoint.sh qsstv_soft_install
|
RUN ./entrypoint.sh qsstv_soft_install
|
||||||
RUN ./entrypoint.sh ice9_bluetooth_soft_install
|
RUN ./entrypoint.sh ice9_bluetooth_soft_install
|
||||||
RUN ./entrypoint.sh gps_sdr_sim_soft_install
|
|
||||||
RUN ./entrypoint.sh retrogram_soapysdr_soft_install # enable by uncommenting
|
|
||||||
RUN ./entrypoint.sh meshtastic_sdr_soft_install
|
RUN ./entrypoint.sh meshtastic_sdr_soft_install
|
||||||
|
RUN ./entrypoint.sh gps_sdr_sim_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
|
# Installing extra software
|
||||||
RUN ./entrypoint.sh jupiter_soft_install
|
|
||||||
RUN ./entrypoint.sh ml_and_dl_soft_install
|
RUN ./entrypoint.sh ml_and_dl_soft_install
|
||||||
|
|
||||||
RUN mkdir -p /sdrtools/
|
RUN mkdir -p /sdrtools/
|
|
@ -1,16 +1,12 @@
|
||||||
# This DockerFile is part of the RFSwift project
|
# This DockerFile is part of the RFSwift project
|
||||||
# Install type: SDR light from corebuild images
|
# Install type: Core for SDR Dockers
|
||||||
# Author(s): Sébastien Dudek (@FlUxIuS) @Penthertz
|
# Author(s): Sébastien Dudek (@FlUxIuS) @Penthertz
|
||||||
# website: penthertz.com
|
# website: penthertz.com
|
||||||
|
FROM corebuild:latest
|
||||||
FROM penthertz/rfswift:corebuild
|
|
||||||
RUN echo 'APT::Install-Suggests "0";' >> /etc/apt/apt.conf.d/00-docker
|
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 echo 'APT::Install-Recommends "0";' >> /etc/apt/apt.conf.d/00-docker
|
||||||
|
|
||||||
RUN apt-get update
|
RUN apt-fast 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 scripts /root/scripts/
|
||||||
COPY rules /root/rules/
|
COPY rules /root/rules/
|
||||||
|
@ -21,20 +17,20 @@ RUN chmod +x entrypoint.sh
|
||||||
|
|
||||||
# Installing Devices
|
# Installing Devices
|
||||||
|
|
||||||
## Installing peripherals
|
## Installing extra peripherals
|
||||||
RUN ./entrypoint.sh uhd_devices_install
|
RUN ./entrypoint.sh uhd_devices_install
|
||||||
#RUN ./entrypoint.sh antsdr_uhd_devices_install # Disable orignal UHD
|
#RUN ./entrypoint.sh antsdr_uhd_devices_install # Disable orignal UHD
|
||||||
RUN ./entrypoint.sh rtlsdr_devices_install
|
RUN ./entrypoint.sh rtlsdr_devices_install
|
||||||
#RUN ./entrypoint.sh rtlsdrv4_devices_install # optionnal, remove rtlsdr_devices_install if you are using the v4 version
|
#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 gnuradio_soft_install
|
||||||
RUN ./entrypoint.sh common_sources_and_sinks
|
RUN ./entrypoint.sh common_sources_and_sinks
|
||||||
RUN ./entrypoint.sh install_soapy_modules
|
RUN ./entrypoint.sh install_soapy_modules
|
||||||
RUN ./entrypoint.sh install_soapyPlutoSDR_modules
|
RUN ./entrypoint.sh install_soapyPlutoSDR_modules
|
||||||
|
|
||||||
# SDR extra tools
|
# SDR extra tools
|
||||||
RUN ./entrypoint.sh gps_sdr_sim_soft_install
|
RUN ./entrypoint.sh sdrpp_soft_fromsource_install # replace to 'sdrpp_soft_install' if you see bugs
|
||||||
RUN ./entrypoint.sh retrogram_soapysdr_soft_install
|
RUN ./entrypoint.sh retrogram_soapysdr_soft_install
|
||||||
|
|
||||||
# Installing SA device modules
|
# Installing SA device modules
|
||||||
|
@ -47,7 +43,6 @@ RUN ./entrypoint.sh leobodnarv1_cal_device
|
||||||
|
|
||||||
# Installing extra software
|
# Installing extra software
|
||||||
RUN ./entrypoint.sh jupiter_soft_install
|
RUN ./entrypoint.sh jupiter_soft_install
|
||||||
RUN ./entrypoint.sh ml_and_dl_soft_install
|
|
||||||
RUN ./entrypoint.sh inspection_decoding_tools
|
RUN ./entrypoint.sh inspection_decoding_tools
|
||||||
|
|
||||||
RUN mkdir -p /sdrtools/
|
RUN mkdir -p /sdrtools/
|
||||||
|
@ -60,3 +55,5 @@ RUN rm -rf /root/rules/
|
||||||
RUN rm -rf /root/config/
|
RUN rm -rf /root/config/
|
||||||
RUN apt-fast clean
|
RUN apt-fast clean
|
||||||
RUN DEBIAN_FRONTEND=noninteractive rm -rf /var/lib/apt/lists/*
|
RUN DEBIAN_FRONTEND=noninteractive rm -rf /var/lib/apt/lists/*
|
||||||
|
#RUN useradd -ms /bin/bash phzapp
|
||||||
|
#USER phzapp
|
|
@ -0,0 +1,59 @@
|
||||||
|
# This DockerFile is part of the RFSwift project
|
||||||
|
# Install type: Core for SDR Dockers
|
||||||
|
# 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/
|
||||||
|
COPY config /root/config/
|
||||||
|
|
||||||
|
WORKDIR /root/scripts/
|
||||||
|
RUN chmod +x entrypoint.sh
|
||||||
|
|
||||||
|
# Installing Devices
|
||||||
|
|
||||||
|
## Installing extra 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 + 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
|
||||||
|
|
||||||
|
# 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
|
||||||
|
|
||||||
|
# Installing extra software
|
||||||
|
RUN ./entrypoint.sh jupiter_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/*
|
||||||
|
#RUN useradd -ms /bin/bash phzapp
|
||||||
|
#USER phzapp
|
|
@ -0,0 +1,59 @@
|
||||||
|
# This DockerFile is part of the RFSwift project
|
||||||
|
# Install type: Core for SDR Dockers
|
||||||
|
# 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/
|
||||||
|
COPY config /root/config/
|
||||||
|
|
||||||
|
WORKDIR /root/scripts/
|
||||||
|
RUN chmod +x entrypoint.sh
|
||||||
|
|
||||||
|
# Installing Devices
|
||||||
|
|
||||||
|
## Installing extra 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 + 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
|
||||||
|
|
||||||
|
# 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
|
||||||
|
|
||||||
|
# Installing extra software
|
||||||
|
RUN ./entrypoint.sh jupiter_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/*
|
||||||
|
#RUN useradd -ms /bin/bash phzapp
|
||||||
|
#USER phzapp
|
|
@ -0,0 +1,33 @@
|
||||||
|
# This DockerFile is part of the RFSwift project
|
||||||
|
# Install type: Bluetooth
|
||||||
|
# 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 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
|
||||||
|
|
||||||
|
# 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/*
|
|
@ -0,0 +1,34 @@
|
||||||
|
# This DockerFile is part of the RFSwift project
|
||||||
|
# Install type: full
|
||||||
|
# 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
|
||||||
|
|
||||||
|
# Tools for 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
|
||||||
|
|
||||||
|
RUN mkdir /sdrtools/
|
||||||
|
COPY run /sdrtools/run
|
||||||
|
|
||||||
|
# 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/*
|
|
@ -0,0 +1,41 @@
|
||||||
|
# This DockerFile is part of the RFSwift project
|
||||||
|
# Install type: Wi-Fi
|
||||||
|
# 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
|
||||||
|
|
||||||
|
# Tools for Wi-Fi
|
||||||
|
RUN ./entrypoint.sh common_nettools
|
||||||
|
RUN ./entrypoint.sh aircrack_soft_install
|
||||||
|
RUN ./entrypoint.sh reaver_soft_install
|
||||||
|
RUN ./entrypoint.sh bully_soft_install
|
||||||
|
RUN ./entrypoint.sh pixiewps_soft_install
|
||||||
|
RUN ./entrypoint.sh Pyrit_soft_install
|
||||||
|
RUN ./entrypoint.sh eaphammer_soft_install
|
||||||
|
RUN ./entrypoint.sh airgeddon_soft_install
|
||||||
|
RUN ./entrypoint.sh wifite2_soft_install
|
||||||
|
|
||||||
|
# Installing bettecap tool
|
||||||
|
RUN ./entrypoint.sh bettercap_soft_install
|
||||||
|
|
||||||
|
RUN mkdir /sdrtools/
|
||||||
|
COPY run /sdrtools/run
|
||||||
|
|
||||||
|
# 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/*
|
|
@ -1,56 +0,0 @@
|
||||||
# This DockerFile is part of the RFSwift project
|
|
||||||
# Install type: Bluetooth
|
|
||||||
# Author(s): Sébastien Dudek (@FlUxIuS) @Penthertz
|
|
||||||
# website: penthertz.com
|
|
||||||
|
|
||||||
FROM ubuntu:22.04
|
|
||||||
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
|
|
||||||
|
|
||||||
# Installing basic packages
|
|
||||||
RUN DEBIAN_FRONTEND=noninteractive \
|
|
||||||
apt-get update \
|
|
||||||
&& apt-get install -y python3 wget curl sudo software-properties-common \
|
|
||||||
gpg-agent pulseaudio udev python3-packaging vim autoconf build-essential \
|
|
||||||
build-essential cmake python3-pip libsndfile-dev scapy screen tcpdump \
|
|
||||||
qt5-qmake qtbase5-dev xterm libusb-1.0-0-dev pkg-config git apt-utils \
|
|
||||||
libusb-1.0-0 libncurses5-dev libtecla1 libtecla-dev dialog procps unzip \
|
|
||||||
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
|
|
||||||
|
|
||||||
RUN DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC \
|
|
||||||
apt-get install tzdata
|
|
||||||
|
|
||||||
# Installing apt-fast wrapper
|
|
||||||
RUN DEBIAN_FRONTEND=noninteractive \
|
|
||||||
apt-add-repository ppa:apt-fast/stable -y
|
|
||||||
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
|
|
||||||
|
|
||||||
RUN apt-get -y install apt-fast python3-matplotlib
|
|
||||||
|
|
||||||
COPY scripts /root/scripts/
|
|
||||||
COPY rules /root/rules/
|
|
||||||
|
|
||||||
WORKDIR /root/scripts/
|
|
||||||
RUN chmod +x entrypoint.sh
|
|
||||||
|
|
||||||
# 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
|
|
||||||
|
|
||||||
# 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/*
|
|
57
rfid.docker
57
rfid.docker
|
@ -1,57 +0,0 @@
|
||||||
# This DockerFile is part of the RFSwift project
|
|
||||||
# Install type: full
|
|
||||||
# Author(s): Sébastien Dudek (@FlUxIuS) @Penthertz
|
|
||||||
# website: penthertz.com
|
|
||||||
|
|
||||||
FROM ubuntu:22.04
|
|
||||||
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
|
|
||||||
|
|
||||||
# Installing basic packages
|
|
||||||
RUN DEBIAN_FRONTEND=noninteractive \
|
|
||||||
apt-get update \
|
|
||||||
&& apt-get install -y python3 wget curl sudo software-properties-common \
|
|
||||||
gpg-agent pulseaudio udev python3-packaging vim autoconf build-essential \
|
|
||||||
build-essential cmake python3-pip libsndfile-dev scapy screen tcpdump \
|
|
||||||
qt5-qmake qtbase5-dev xterm libusb-1.0-0-dev pkg-config git apt-utils \
|
|
||||||
libusb-1.0-0 libncurses5-dev libtecla1 libtecla-dev dialog procps unzip \
|
|
||||||
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
|
|
||||||
|
|
||||||
RUN DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC \
|
|
||||||
apt-get install tzdata
|
|
||||||
|
|
||||||
# Installing apt-fast wrapper
|
|
||||||
RUN DEBIAN_FRONTEND=noninteractive \
|
|
||||||
apt-add-repository ppa:apt-fast/stable -y
|
|
||||||
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
|
|
||||||
|
|
||||||
RUN apt-get -y install apt-fast python3-matplotlib
|
|
||||||
|
|
||||||
COPY scripts /root/scripts/
|
|
||||||
COPY rules /root/rules/
|
|
||||||
|
|
||||||
WORKDIR /root/scripts/
|
|
||||||
RUN chmod +x entrypoint.sh
|
|
||||||
|
|
||||||
# Tools for 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
|
|
||||||
|
|
||||||
RUN mkdir /sdrtools/
|
|
||||||
COPY run /sdrtools/run
|
|
||||||
|
|
||||||
# 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/*
|
|
|
@ -35,7 +35,7 @@ function bettercap_soft_install() {
|
||||||
# RFID package
|
# RFID package
|
||||||
function proxmark3_soft_install() {
|
function proxmark3_soft_install() {
|
||||||
goodecho "[+] Installing proxmark3 dependencies"
|
goodecho "[+] Installing proxmark3 dependencies"
|
||||||
installfromnet "apt-fast install -y --no-install-recommends git ca-certificates build-essential pkg-config libreadline-dev"
|
installfromnet "apt-fast install -y --no-install-recommends git ca-certificates build-essential pkg-config libreadline-dev arm-none-eabi"
|
||||||
installfromnet "apt-fast install -y gcc-arm-none-eabi libnewlib-dev qtbase5-dev libbz2-dev liblz4-dev libbluetooth-dev libpython3-dev libssl-dev libgd-dev"
|
installfromnet "apt-fast install -y gcc-arm-none-eabi libnewlib-dev qtbase5-dev libbz2-dev liblz4-dev libbluetooth-dev libpython3-dev libssl-dev libgd-dev"
|
||||||
goodecho "[+] Installing proxmark3"
|
goodecho "[+] Installing proxmark3"
|
||||||
[ -d /rftools ] || mkdir /rftools
|
[ -d /rftools ] || mkdir /rftools
|
||||||
|
|
|
@ -1,92 +0,0 @@
|
||||||
# This DockerFile is part of the RFSwift project
|
|
||||||
# Install type: SDR light
|
|
||||||
# Author(s): Sébastien Dudek (@FlUxIuS) @Penthertz
|
|
||||||
# website: penthertz.com
|
|
||||||
FROM ubuntu:22.04
|
|
||||||
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
|
|
||||||
|
|
||||||
# Installing basic packages
|
|
||||||
RUN DEBIAN_FRONTEND=noninteractive \
|
|
||||||
apt-get update \
|
|
||||||
&& apt-get install -y python3 wget curl sudo software-properties-common \
|
|
||||||
gpg-agent pulseaudio udev python3-packaging vim autoconf build-essential \
|
|
||||||
build-essential cmake python3-pip libsndfile-dev scapy screen tcpdump \
|
|
||||||
qt5-qmake qtbase5-dev xterm libusb-1.0-0-dev pkg-config git apt-utils \
|
|
||||||
libusb-1.0-0 libncurses5-dev libtecla1 libtecla-dev dialog procps unzip \
|
|
||||||
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
|
|
||||||
|
|
||||||
RUN DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC \
|
|
||||||
apt-get install tzdata
|
|
||||||
|
|
||||||
# Installing apt-fast wrapper
|
|
||||||
RUN DEBIAN_FRONTEND=noninteractive \
|
|
||||||
apt-add-repository ppa:apt-fast/stable -y
|
|
||||||
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
|
|
||||||
|
|
||||||
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
|
|
||||||
|
|
||||||
# Installing Devices
|
|
||||||
|
|
||||||
## Installing peripherals
|
|
||||||
RUN ./entrypoint.sh ad_devices_install
|
|
||||||
RUN ./entrypoint.sh uhd_devices_install
|
|
||||||
#RUN ./entrypoint.sh antsdr_uhd_devices_install # Disable orignal UHD
|
|
||||||
RUN ./entrypoint.sh nuand_devices_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
|
|
||||||
#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/*
|
|
||||||
#RUN useradd -ms /bin/bash phzapp
|
|
||||||
#USER phzapp
|
|
64
wifi.docker
64
wifi.docker
|
@ -1,64 +0,0 @@
|
||||||
# This DockerFile is part of the RFSwift project
|
|
||||||
# Install type: Wi-Fi
|
|
||||||
# Author(s): Sébastien Dudek (@FlUxIuS) @Penthertz
|
|
||||||
# website: penthertz.com
|
|
||||||
|
|
||||||
FROM ubuntu:22.04
|
|
||||||
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
|
|
||||||
|
|
||||||
# Installing basic packages
|
|
||||||
RUN DEBIAN_FRONTEND=noninteractive \
|
|
||||||
apt-get update \
|
|
||||||
&& apt-get install -y python3 wget curl sudo software-properties-common \
|
|
||||||
gpg-agent pulseaudio udev python3-packaging vim autoconf build-essential \
|
|
||||||
build-essential cmake python3-pip libsndfile-dev scapy screen tcpdump \
|
|
||||||
qt5-qmake qtbase5-dev xterm libusb-1.0-0-dev pkg-config git apt-utils \
|
|
||||||
libusb-1.0-0 libncurses5-dev libtecla1 libtecla-dev dialog procps unzip \
|
|
||||||
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
|
|
||||||
|
|
||||||
RUN DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC \
|
|
||||||
apt-get install tzdata
|
|
||||||
|
|
||||||
# Installing apt-fast wrapper
|
|
||||||
RUN DEBIAN_FRONTEND=noninteractive \
|
|
||||||
apt-add-repository ppa:apt-fast/stable -y
|
|
||||||
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
|
|
||||||
|
|
||||||
RUN apt-get -y install apt-fast python3-matplotlib
|
|
||||||
|
|
||||||
COPY scripts /root/scripts/
|
|
||||||
COPY rules /root/rules/
|
|
||||||
|
|
||||||
WORKDIR /root/scripts/
|
|
||||||
RUN chmod +x entrypoint.sh
|
|
||||||
|
|
||||||
# Tools for Wi-Fi
|
|
||||||
RUN ./entrypoint.sh common_nettools
|
|
||||||
RUN ./entrypoint.sh aircrack_soft_install
|
|
||||||
RUN ./entrypoint.sh reaver_soft_install
|
|
||||||
RUN ./entrypoint.sh bully_soft_install
|
|
||||||
RUN ./entrypoint.sh pixiewps_soft_install
|
|
||||||
RUN ./entrypoint.sh Pyrit_soft_install
|
|
||||||
RUN ./entrypoint.sh eaphammer_soft_install
|
|
||||||
RUN ./entrypoint.sh airgeddon_soft_install
|
|
||||||
RUN ./entrypoint.sh wifite2_soft_install
|
|
||||||
|
|
||||||
# Installing bettecap tool
|
|
||||||
RUN ./entrypoint.sh bettercap_soft_install
|
|
||||||
|
|
||||||
RUN mkdir /sdrtools/
|
|
||||||
COPY run /sdrtools/run
|
|
||||||
|
|
||||||
# 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/*
|
|
Loading…
Reference in New Issue