ci(Dockerfile): 修改依赖的setuptools版本,导致的ldap无法安装问题

pull/4571/head
ibuler 2020-09-01 13:37:16 +08:00 committed by BaiJiangJie
parent 1551aa418f
commit 8f0cd12a3c
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ RUN useradd jumpserver
RUN yum -y install epel-release && \
echo -e "[mysql]\nname=mysql\nbaseurl=${MYSQL_MIRROR}\ngpgcheck=0\nenabled=1" > /etc/yum.repos.d/mysql.repo
RUN yum -y install $(cat requirements/rpm_requirements.txt)
RUN pip install --upgrade pip setuptools wheel -i ${PIP_MIRROR} && \
RUN pip install --upgrade pip setuptools==49.6.0 wheel -i ${PIP_MIRROR} && \
pip config set global.index-url ${PIP_MIRROR}
RUN pip install -r requirements/requirements.txt || pip install -r requirements/requirements.txt