From 6e41567faad913fd9a0b50fc6e64d16a02f05676 Mon Sep 17 00:00:00 2001 From: Gertjan van den Burg Date: Tue, 17 Mar 2020 17:42:49 +0000 Subject: Various fixes for travis --- Dockerfile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'Dockerfile') 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 -- cgit v1.2.3