diff --git a/Dockerfile b/Dockerfile
index 27aefb4f469b3165f6ec9de3fb806239c7a10f87..47168adeea1a56ce6a49ae43b942b13a8ddbb6b5 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -30,9 +30,12 @@ ADD . /km3buu
 
 RUN source /opt/rh/devtoolset-10/enable && \
     cd /km3buu && \
+    pip3 install --upgrade pip && \
     pip3 install setuptools-scm && \
     pip3 install pytest-runner && \
-    pip3 install -e .
+    pip3 install -e . && \
+    pip3 install -e ".[dev]" && \
+    pip3 install -e ".[extras]"
 
 RUN cd /km3buu/externals/km3net-dataformat/ && \
     make