Working on testing script
diff --git a/Dockerfile b/Dockerfile
index 9e7e728..836e4c5 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1 +1,72 @@
-# This file is overwritten by the .travis.yml script as part of automated builds.
+FROM ubuntu:14.04
+
+ENV GRGSM_GIT=https://github.com/ptrkrysik/gr-gsm
+ENV OSMOCORE_GIT=git://git.osmocom.org/libosmocore.git
+ENV GR_OSMOSDR_GIT=git://git.osmocom.org/gr-osmosdr
+
+# We know it's going to foul up, so we run this install separately and then ...fix... dpkg status
+RUN apt-get update && apt-get install -y uhd-host || \
+ sed -i "s/Status: install ok half-configured/Status: install ok installed/g" /var/lib/dpkg/status
+
+RUN apt-get update && apt-get install -y \
+ git \
+ vim \
+ gnuradio-dev \
+ gr-osmosdr \
+ libgnuradio-osmosdr0.0.0 \
+ libosmosdr-dev \
+ libosmosdr0 \
+ osmo-sdr \
+ cmake \
+ autoconf \
+ libtool \
+ python-talloc-dev \
+ libtalloc2 \
+ libtalloc-dev \
+ libpcsclite-dev \
+ build-essential \
+ libboost-all-dev \
+ libcppunit-dev swig \
+ doxygen \
+ liblog4cpp5-dev \
+ python-scipy \
+ librtlsdr-dev \
+ librtlsdr0 \
+ rtl-sdr \
+ wget
+
+
+RUN /usr/bin/git clone $OSMOCORE_GIT && \
+ cd libosmocore && \
+ autoreconf -i && \
+ ./configure && \
+ make && \
+ make install && \
+ ldconfig -i
+
+#RUN /usr/bin/git clone $GR_OSMOSDR_GIT && \
+# cd gr-osmosdr && \
+# mkdir build && \
+# cd build && \
+# cmake .. && \
+# make && \
+# make install && \
+# ldconfig
+
+#RUN /usr/bin/git clone $GRGSM_GIT && \
+# cd gr-gsm && \
+# mkdir build && \
+# cd build && \
+# cmake .. && \
+# make && \
+# sudo make install &&\
+# ldconfig
+
+COPY ./ /src/
+RUN ls /src
+RUN mkdir /src/build && \
+ cd /src/build && \
+ cmake .. && \
+ make && \
+ make install && \
+ ldconfig
diff --git a/build_test_scripts/decode.sh b/build_test_scripts/decode.sh
index e061736..97f23ad 100755
--- a/build_test_scripts/decode.sh
+++ b/build_test_scripts/decode.sh
@@ -2,4 +2,6 @@
export AP_DECODE=/usr/local/bin/airprobe_decode.py
export CAPFILE=/src/test_data/vf_call6_a725_d174_g5_Kc1EF00BAB3BAC7002.cfile
-/usr/bin/python $AP_DECODE -c $CAPFILE -s $((100000000/174)) -a 725 -m BCCH -t 0
+export RUNLINE="$AP_DECODE -c $CAPFILE -s $((100000000/174)) -a 725 -m BCCH -t 0"
+echo "Testing with:\n $RUNLINE"
+$RUNLINE