mirror of
https://github.com/getredash/redash.git
synced 2025-12-19 17:37:19 -05:00
fix: rollback pip version to avoid legacy resolver problem (#5467)
Co-authored-by: Lingkai Kong <lingkai.kong@databricks.com>
This commit is contained in:
@@ -79,8 +79,8 @@ WORKDIR /app
|
||||
ENV PIP_DISABLE_PIP_VERSION_CHECK=1
|
||||
ENV PIP_NO_CACHE_DIR=1
|
||||
|
||||
# Use legacy resolver to work around broken build due to resolver changes in pip
|
||||
ENV PIP_USE_DEPRECATED=legacy-resolver
|
||||
# rollback pip version to avoid legacy resolver problem
|
||||
RUN pip install pip==20.2.4;
|
||||
|
||||
# We first copy only the requirements file, to avoid rebuilding on every file
|
||||
# change.
|
||||
|
||||
Reference in New Issue
Block a user