Merge pull request #13255 from jumpserver/pr@v4@fix_docker_build

fix: 修正企业镜像缺失依赖
pull/13258/head
吴小白 2024-05-20 15:02:56 +08:00 committed by GitHub
commit 0f2c769e8d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -106,7 +106,7 @@ RUN --mount=type=cache,target=/root/.cache,sharing=locked \
&& pip install poetry -i ${PIP_MIRROR} \
&& poetry config virtualenvs.create false \
&& . /opt/py3/bin/activate \
&& poetry install --only=main
&& poetry install --without xpack
COPY --from=stage-1 /opt/jumpserver /opt/jumpserver

View File

@ -111,7 +111,7 @@ RUN --mount=type=cache,target=/root/.cache,sharing=locked \
&& pip install poetry -i ${PIP_MIRROR} \
&& poetry config virtualenvs.create false \
&& . /opt/py3/bin/activate \
&& poetry install
&& poetry install --with xpack
COPY --from=stage-1 /opt/jumpserver /opt/jumpserver