Browse Source

fix: 修正企业镜像缺失依赖

pull/13255/head
吴小白 6 months ago
parent
commit
1d53f292ae
  1. 2
      Dockerfile
  2. 2
      Dockerfile-ee

2
Dockerfile

@ -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

2
Dockerfile-ee

@ -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

Loading…
Cancel
Save