diff --git a/Dockerfile b/Dockerfile index 9c0cd9dbf..b030c25b0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -23,7 +23,8 @@ RUN yum -y install epel-release && \ RUN yum -y install $(cat requirements/rpm_requirements.txt) 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 +RUN pip install $(grep 'jms' requirements/requirements.txt) -i https://pypi.org/simple +RUN pip install -r requirements/requirements.txt COPY --from=stage-build /opt/jumpserver/release/jumpserver /opt/jumpserver RUN mkdir -p /root/.ssh/ && echo -e "Host *\n\tStrictHostKeyChecking no\n\tUserKnownHostsFile /dev/null" > /root/.ssh/config