diff --git a/Dockerfile b/Dockerfile
index 355fd9c8d1da4da6f082b06917d038af5c180373..943d2368dedfbf4773661b9c28b838fd307b0707 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -5,7 +5,7 @@ EXPOSE 11311
 
 # vcs import does not work without that
 ENV GIT_SSL_NO_VERIFY=true
-RUN  python -c "exec(\"import sys; print sys.path\")"
+RUN  python3 -c "exec(\"import sys; print sys.path\")"
 
 # set bash to default shell
 SHELL ["/bin/bash", "-c"]