This is an automated email from the ASF dual-hosted git repository.

snuyanzin pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/flink-ci-docker.git

commit d3de200e7b7dd5aa10fa11a566a30813e926aaad
Author: Matthias Pohl <[email protected]>
AuthorDate: Mon Jan 22 10:10:47 2024 +0100

    [FLINK-34194][ci] Switches to python3 dependency for tests
---
 base/Dockerfile | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/base/Dockerfile b/base/Dockerfile
index 824199b..51448ac 100644
--- a/base/Dockerfile
+++ b/base/Dockerfile
@@ -22,12 +22,14 @@ RUN set -eux; \
                bsdmainutils \
                wget \
                `# for pyflink test suite` \
-               python \
+               python3 \
                docker.io \
                psmisc \
                software-properties-common \
                apt-transport-https; \
-       rm -rf /var/lib/apt/lists/*;
+       rm -rf /var/lib/apt/lists/*;\
+       # enables legacy python command for PyFlink tests
+       ln -s /usr/bin/python3 /usr/bin/python
 
 # Install latest git
 RUN set -eux; \

Reply via email to