diff --git a/Dockerfile b/Dockerfile
index e182b772f4ca8b1dc6ad7c66c18472712bd6d443..bb976d3a7829fb8514023e476862dca66fe8f0ab 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,13 +1,14 @@
 FROM continuumio/miniconda
 MAINTAINER Bas Nijholt <bas@nijho.lt>
 
+RUN apt-get -o Acquire::Check-Valid-Until=false update -q && apt-get install -qy \
+#    texlive-full \
+#    python-pygments gnuplot \
+	build-essential \
+    make git \
+    && rm -rf /var/lib/apt/lists/*
+
 RUN mkdir /environments
 COPY environment.yml /environments/
 
 RUN conda-env create -f /environments/environment.yml
-
-RUN apt-get -o Acquire::Check-Valid-Until=false update -q && apt-get install -qy \
-    texlive-full \
-    python-pygments gnuplot \
-    make git \
-    && rm -rf /var/lib/apt/lists/*