Skip to content

Instantly share code, notes, and snippets.

@ericbond007
Last active November 16, 2016 16:11
Show Gist options
  • Save ericbond007/61a6ea9bc2a7f22ea6d85402934a885e to your computer and use it in GitHub Desktop.
Save ericbond007/61a6ea9bc2a7f22ea6d85402934a885e to your computer and use it in GitHub Desktop.
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
@ericbond007
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment