diff --git a/ubuntu18.04/base/Dockerfile b/ubuntu18.04/base/Dockerfile
index 75ace3a2433da7627d6a8347b48c78036cfdcb34..93e5e5852a77266b6d63f1f143cd2ba6b9f93c08 100644
--- a/ubuntu18.04/base/Dockerfile
+++ b/ubuntu18.04/base/Dockerfile
@@ -52,16 +52,16 @@ RUN apt-get update && \
         libwebsocketpp-dev \
         libfreetype6-dev \
         libharfbuzz-dev \
-        python3 \
-        python3-dev \
+        python3.7 \
+        python3.7-dev \
+        python3.7-venv \
         python3-pip \
         python3-setuptools \
-        python3-distutils \
-        python3-venv && \
+        python3-distutils && \
     curl -sSL -o /usr/local/bin/linuxdeployqt https://github.com/probonopd/linuxdeployqt/releases/download/5/linuxdeployqt-5-x86_64.AppImage && \
     chmod +x /usr/local/bin/linuxdeployqt
 
-RUN python3.6 -m pip --no-cache-dir install \
+RUN python3.7 -m pip --no-cache-dir install \
         graphviz \
         opencv-python==3.4.5.20 \
         nose \
diff --git a/ubuntu18.04/cuda-devel/Dockerfile b/ubuntu18.04/cuda-devel/Dockerfile
index 82d3f42015d6736d0ae76d03f596600e8d1a0eee..2bc09ea335b5710e5153f333bb8d965775f617d2 100644
--- a/ubuntu18.04/cuda-devel/Dockerfile
+++ b/ubuntu18.04/cuda-devel/Dockerfile
@@ -26,6 +26,6 @@ RUN apt-get update && \
         -G Ninja && \
     ninja -C build && \
     cd python && \
-    python3 setup.py install && \
+    python3.7 setup.py install && \
     apt-get clean
 ADD mxnet_profile.sh /etc/profile.d/mxnet.sh
diff --git a/ubuntu18.04/devel/Dockerfile b/ubuntu18.04/devel/Dockerfile
index f9b3f8fa5c746144ec376bb275530d0815ee96a6..8b664a26911487595e274521a00d99d8f2d7c747 100644
--- a/ubuntu18.04/devel/Dockerfile
+++ b/ubuntu18.04/devel/Dockerfile
@@ -25,6 +25,6 @@ RUN apt-get update && \
         -G Ninja && \
     ninja -C build && \
     cd python && \
-    python3 setup.py install && \
+    python3.7 setup.py install && \
     apt-get clean
 ADD mxnet_profile.sh /etc/profile.d/mxnet.sh
diff --git a/ubuntu18.04/jupyter/Dockerfile b/ubuntu18.04/jupyter/Dockerfile
index 5e548a248cb604d430a64c1488e838108c43dfb9..a9f40feb2c9a4f086a93c8d5d6b8ce22c3cf1884 100644
--- a/ubuntu18.04/jupyter/Dockerfile
+++ b/ubuntu18.04/jupyter/Dockerfile
@@ -1,6 +1,6 @@
 FROM git.imp.fu-berlin.de:5000/bioroboticslab/robofish/docker:cuda-devel-ubuntu18.04
 
-RUN python3.6 -m pip --no-cache-dir install \
+RUN python3.7 -m pip --no-cache-dir install \
         numpy \
         scipy \
         matplotlib \