potiuk commented on code in PR #53770:
URL: https://github.com/apache/airflow/pull/53770#discussion_r2232666595


##########
scripts/docker/install_os_dependencies.sh:
##########
@@ -125,13 +133,35 @@ function install_debian_runtime_dependencies() {
     rm -rf /var/lib/apt/lists/* /var/log/*
 }
 
+function install_python() {
+    git clone --branch "${AIRFLOW_PYTHON_VERSION}" --depth 1 
https://github.com/python/cpython.git
+    cd cpython
+    ./configure --enable-optimizations

Review Comment:
   ```suggestion
       ./configure --enable-optimizations --prefix=/usr/python/
    ```
   
   For example. Then we could add PATH, LD_LIBRARY_PATH and maybe few other 
places to make sure  "/usr/python/bin", "/usr/python/lib" etc are first on the 
PATHs.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to