diff --git a/Dockerfile b/Dockerfile
index 887e7b61a0eae8570c9e4ee4f950f6660717b487..355fd9c8d1da4da6f082b06917d038af5c180373 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  python3-config --includes
+RUN  python -c "exec(\"import sys; print sys.path\")"
 
 # set bash to default shell
 SHELL ["/bin/bash", "-c"]