This is an automated email from the ASF dual-hosted git repository.
snuyanzin pushed a commit to branch release-2.2
in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/release-2.2 by this push:
new bf9cc5d3dfa [FLINK-38700][python] Fix kubernetes pyflink application
test
bf9cc5d3dfa is described below
commit bf9cc5d3dfa03a56110c8b4de9f57f18aacf9753
Author: Sergey Nuyanzin <[email protected]>
AuthorDate: Tue Nov 25 07:53:46 2025 +0100
[FLINK-38700][python] Fix kubernetes pyflink application test
---------
Co-authored-by: Dian Fu <[email protected]>
---
.../test-scripts/test_kubernetes_pyflink_application.sh | 2 ++
1 file changed, 2 insertions(+)
diff --git
a/flink-end-to-end-tests/test-scripts/test_kubernetes_pyflink_application.sh
b/flink-end-to-end-tests/test-scripts/test_kubernetes_pyflink_application.sh
index 389ee33b792..da93a77c71f 100755
--- a/flink-end-to-end-tests/test-scripts/test_kubernetes_pyflink_application.sh
+++ b/flink-end-to-end-tests/test-scripts/test_kubernetes_pyflink_application.sh
@@ -80,7 +80,9 @@ cp "${FLINK_PYTHON_DIR}/pyproject.toml" $PYFLINK_DOCKER_DIR/
if [[ -d "dist" ]]; then rm -Rf dist; fi
cd ${PYFLINK_DOCKER_DIR}
echo "FROM ${PURE_FLINK_IMAGE_NAME}" >> Dockerfile
+echo "USER root" >> Dockerfile
echo "RUN apt-get update && apt-get install build-essential -y" >> Dockerfile
+echo "USER flink" >> Dockerfile
echo "COPY lint-python.sh /tmp/lint-python.sh" >> Dockerfile
echo "COPY pyproject.toml /tmp/pyproject.toml" >> Dockerfile
echo "RUN bash /tmp/lint-python.sh -s basic" >> Dockerfile