aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorGertjan van den Burg <gertjanvandenburg@gmail.com>2020-03-17 17:42:49 +0000
committerGertjan van den Burg <gertjanvandenburg@gmail.com>2020-03-17 17:42:49 +0000
commit6e41567faad913fd9a0b50fc6e64d16a02f05676 (patch)
tree98aa633e9abc50c9702487de0baf458d9dd1d3db /Dockerfile
parentRemove old output file (diff)
downloadTCPDBench-6e41567faad913fd9a0b50fc6e64d16a02f05676.tar.gz
TCPDBench-6e41567faad913fd9a0b50fc6e64d16a02f05676.zip
Various fixes for travis
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile9
1 files changed, 8 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index f84ebaac..3c417153 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -8,6 +8,7 @@ RUN apt-get update && \
build-essential \
r-base \
latexmk \
+ texlive-latex-extra \
libopenmpi-dev \
liblzma-dev
@@ -22,6 +23,9 @@ RUN apt-get install -y --no-install-recommends \
cd /usr/local/bin && ln -s /usr/bin/python3 python && \
pip install virtualenv abed
+# Set the default shell to bash
+RUN mv /bin/sh /bin/sh.old && cp /bin/bash /bin/sh
+
# Clone the dataset repo
RUN git clone https://github.com/alan-turing-institute/TCPD
@@ -32,7 +36,10 @@ RUN cd TCPD && make export
RUN git clone --recurse-submodules https://github.com/alan-turing-institute/TCPDBench
# Copy the datasets into the benchmark dir
-RUN mkdir -p TCPDBench/datasets && cp TCPD/export/*.json TCPDBench/dataset/
+RUN mkdir -p /TCPDBench/datasets && cp TCPD/export/*.json /TCPDBench/datasets/
+
+# Install Python dependencies
+RUN pip install -r /TCPDBench/analysis/requirements.txt
# Set the working directory
WORKDIR TCPDBench