Hi All!
Getting some weird errors when trying to build prefect image in our CI system:
That's my Dockerfile:
Copy code
FROM prefecthq/prefect:2.11.5-python3.8
WORKDIR /app
COPY ./requirements.txt /app/requirements.txt
RUN pip install --upgrade pip
RUN pip install -r requirements.txt
ENV PYTHONPATH /app/
COPY ./ /app/
When running
docker build .
I'm getting this error when trying to upgrade
pip
(or to install any python package):
Copy code
RuntimeError: can't start new thread
Did anyone encounter something similar and can help? thanks!!
P.S it happened after upgrading to prefect image 2.11.5, before we worked with 2.7.7 and it was running smoothly.
👀 1
o
Ofek Katriel
08/28/2023, 11:40 AM
@Sahil Rangwala it’s a production blocker
d
Dave Chater
10/09/2023, 3:57 PM
@Alon Peslin I just ran into the same problem. Managed to work around it by disabling the progress bars on the pip install like so
pip install --progress-bar off -r requirements.txt
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.