Update Dockerfile

This commit is contained in:
dss16694 2023-03-06 13:54:09 +08:00 committed by GitHub
parent e9dc7f49b3
commit c8ad993b2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,7 +23,8 @@ RUN patch -p0 < /no_avx_patch.diff
ARG NUM_JOBS=
RUN python3 -m pip install requirements_parser && \
RUN export GIT_PYTHON_REFRESH=quiet && \
python3 -m pip install requirements_parser && \
python3 -m pip install -r etc/pip/compile-requirements.txt && \
if [ "${NUM_JOBS}" -gt 0 ]; then export JOBS_ARG="-j ${NUM_JOBS}"; fi && \
python3 buildscripts/scons.py install-servers MONGO_VERSION="${MONGO_VERSION}" --release --disable-warnings-as-errors ${JOBS_ARG} && \