Last active
August 3, 2017 12:01
-
-
Save zoutepopcorn/00e0505456f36fbde0e4acf40be708e6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM marcelmaatkamp/gnuradio | |
# apt-get | |
RUN apt-get update && apt-get upgrade | |
RUN apt-get install -y python-numpy python-scipy python-scapy | |
RUN apt-get install git | |
RUN apt-get install python-pip | |
RUN apt-get install gnuradio | |
RUN pip install PyBOMBS | |
RUN pybombs prefix init /usr/local -a default_prx | |
RUN pybombs config default_prefix default_prx | |
RUN pybombs recipes add gr-recipes git+https://github.com/gnuradio/gr-recipes.git | |
RUN pybombs recipes add gr-etcetera git+https://github.com/gnuradio/gr-etcetera.git | |
RUN pybombs install gr-gsm | |
RUN ldconfig | |
RUN export uid=1000 gid=1000 && \ | |
mkdir -p /home/developer && \ | |
echo "developer:x:${uid}:${gid}:Developer,,,:/home/developer:/bin/bash" >> /etc/passwd && \ | |
echo "developer:x:${uid}:" >> /etc/group && \ | |
echo "developer ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/developer && \ | |
chmod 0440 /etc/sudoers.d/developer && \ | |
chown ${uid}:${gid} -R /home/developer | |
USER developer | |
ENV HOME /home/developer | |
RUN git clone https://github.com/Oros42/IMSI-catcher.git | |
# BUIDLING | |
# docker build -t guigsm . | |
# RUNNING | |
# docker run -ti --rm -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix ff |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment