Skip to content

Commit bf9cc5d

Browse files
snuyanzindianfu
andauthored
[FLINK-38700][python] Fix kubernetes pyflink application test
--------- Co-authored-by: Dian Fu <[email protected]>
1 parent e666847 commit bf9cc5d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

flink-end-to-end-tests/test-scripts/test_kubernetes_pyflink_application.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,9 @@ cp "${FLINK_PYTHON_DIR}/pyproject.toml" $PYFLINK_DOCKER_DIR/
8080
if [[ -d "dist" ]]; then rm -Rf dist; fi
8181
cd ${PYFLINK_DOCKER_DIR}
8282
echo "FROM ${PURE_FLINK_IMAGE_NAME}" >> Dockerfile
83+
echo "USER root" >> Dockerfile
8384
echo "RUN apt-get update && apt-get install build-essential -y" >> Dockerfile
85+
echo "USER flink" >> Dockerfile
8486
echo "COPY lint-python.sh /tmp/lint-python.sh" >> Dockerfile
8587
echo "COPY pyproject.toml /tmp/pyproject.toml" >> Dockerfile
8688
echo "RUN bash /tmp/lint-python.sh -s basic" >> Dockerfile

0 commit comments

Comments
 (0)