diff --git a/Dockerfile b/Dockerfile
index 7643aa5a4effe5767725d29bfafef7e5fc6f3ac3..887e7b61a0eae8570c9e4ee4f950f6660717b487 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -5,6 +5,7 @@ EXPOSE 11311
 
 # vcs import does not work without that
 ENV GIT_SSL_NO_VERIFY=true
+RUN  python3-config --includes
 
 # set bash to default shell
 SHELL ["/bin/bash", "-c"]