2024-06-12 05:15:52 -07:00
|
|
|
# This DockerFile is part of the RFSwift project
|
|
|
|
# Install type: full
|
|
|
|
# Author(s): Sébastien Dudek (@FlUxIuS) @Penthertz
|
|
|
|
# website: penthertz.com
|
|
|
|
|
|
|
|
FROM corebuild:latest
|
2024-06-27 15:03:20 -07:00
|
|
|
|
|
|
|
LABEL "org.container.project"="rfswift"
|
|
|
|
LABEL "org.container.author"="Sébastien Dudek (FlUxIuS)"
|
|
|
|
|
2024-06-12 05:15:52 -07:00
|
|
|
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/*
|