diff --git a/tests/docker-images/java-test-image/Dockerfile b/tests/docker-images/java-test-image/Dockerfile index fd6ac27f4f37dc..55ed281c96c19b 100644 --- a/tests/docker-images/java-test-image/Dockerfile +++ b/tests/docker-images/java-test-image/Dockerfile @@ -26,7 +26,7 @@ USER root COPY target/scripts /pulsar/bin RUN chmod a+rx /pulsar/bin/* -RUN pip3 install supervisor +RUN pip3 install --break-system-packages supervisor RUN mkdir -p /var/log/pulsar \ && mkdir -p /var/run/supervisor/ \ diff --git a/tests/docker-images/latest-version-image/Dockerfile b/tests/docker-images/latest-version-image/Dockerfile index e592b026ed5045..51f18a9ba1ac66 100644 --- a/tests/docker-images/latest-version-image/Dockerfile +++ b/tests/docker-images/latest-version-image/Dockerfile @@ -42,7 +42,7 @@ FROM $PULSAR_IMAGE # However, any processes exec'ing into the containers will run as root, by default. USER root -RUN apk add --no-cache procps curl && pip3 install supervisor +RUN apk add --no-cache procps curl && pip3 install --break-system-packages supervisor RUN mkdir -p /var/log/pulsar && mkdir -p /var/run/supervisor/