Skip to content

Instantly share code, notes, and snippets.

@zoutepopcorn
Last active August 3, 2017 11:04
Show Gist options
  • Save zoutepopcorn/04d87a1c3e474719584995871eb22e74 to your computer and use it in GitHub Desktop.
Save zoutepopcorn/04d87a1c3e474719584995871eb22e74 to your computer and use it in GitHub Desktop.
FROM marcelmaatkamp/pybombs-gnuradio
# apt-get
RUN apt-get update
RUN apt-get install -y python-numpy python-scipy python-scapy
RUN pybombs config default_prefix default_prx
RUN pybombs install gr-gsm
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