mirror of https://github.com/apache/superset.git
Updating pip with default timeout (#8492)
* Updating pip with default timeout Most of the time, the pip default site is realiable but we do see timeouts pops out when network is busy or temporary unavaliable . The default value was 15 and that's way too short. So adding --default-time and set it to 1000 should be long enough to mitigate * Update Dockerfile
This commit is contained in:
parent
5dba2f4b56
commit
5617f8721d
|
@ -47,8 +47,8 @@ COPY requirements.txt .
|
|||
COPY requirements-dev.txt .
|
||||
COPY contrib/docker/requirements-extra.txt .
|
||||
|
||||
RUN pip install --upgrade setuptools pip \
|
||||
&& pip install -r requirements.txt -r requirements-dev.txt -r requirements-extra.txt \
|
||||
RUN pip --default-timeout=120 install --upgrade setuptools pip \
|
||||
&& pip --default-timeout=120 install -r requirements.txt -r requirements-dev.txt -r requirements-extra.txt \
|
||||
&& rm -rf /root/.cache/pip
|
||||
|
||||
COPY --chown=superset:superset superset superset
|
||||
|
|
Loading…
Reference in New Issue