snuyanzin commented on code in PR #27255:
URL: https://github.com/apache/flink/pull/27255#discussion_r2545299258
##########
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"
Review Comment:
```suggestion
echo "USER root" >> Dockerfile
```
##########
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"
echo "RUN apt-get update && apt-get install build-essential -y" >> Dockerfile
+echo "USER flink"
Review Comment:
```suggestion
echo "USER flink" >> Dockerfile
```
--
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]