Last active
November 16, 2016 16:11
-
-
Save ericbond007/61a6ea9bc2a7f22ea6d85402934a885e to your computer and use it in GitHub Desktop.
This file contains 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 ubuntu:xenial | |
RUN apt-get update | |
RUN apt-get install -y gnuradio gr-osmosdr libhackrf-dev libuhd-dev | |
RUN apt-get install -y git cmake build-essential libboost-all-dev libusb-1.0-0.dev | |
RUN apt-get install -y screen | |
RUN mkdir /src && cd /src && git clone https://github.com/robotastic/trunk-recorder.git | |
RUN cd /src/trunk-recorder && cmake . && make | |
ADD ChanList.csv /src/trunk-recorder | |
ADD config.json /src/trunk-recorder | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
run 'docker build -t trunk-recorder .' to build the image. Then, 'docker run -it --privileged -v /dev/bus/usb:/dev/bus/usb trunk-recorder /bin/bash' to run the docker image and drop to a shell. You can also modify this Dockerfile to run trunk-recorder by default.
Once your are in the new image's shell, 'cd /src/trunk-recorder && ./recorder' to start trunk-recorder.