mirror of https://github.com/jumpserver/jumpserver
fix: 修正企业镜像缺失依赖
parent
a15335cac9
commit
1d53f292ae
|
@ -106,7 +106,7 @@ RUN --mount=type=cache,target=/root/.cache,sharing=locked \
|
||||||
&& pip install poetry -i ${PIP_MIRROR} \
|
&& pip install poetry -i ${PIP_MIRROR} \
|
||||||
&& poetry config virtualenvs.create false \
|
&& poetry config virtualenvs.create false \
|
||||||
&& . /opt/py3/bin/activate \
|
&& . /opt/py3/bin/activate \
|
||||||
&& poetry install --only=main
|
&& poetry install --without xpack
|
||||||
|
|
||||||
COPY --from=stage-1 /opt/jumpserver /opt/jumpserver
|
COPY --from=stage-1 /opt/jumpserver /opt/jumpserver
|
||||||
|
|
||||||
|
|
|
@ -111,7 +111,7 @@ RUN --mount=type=cache,target=/root/.cache,sharing=locked \
|
||||||
&& pip install poetry -i ${PIP_MIRROR} \
|
&& pip install poetry -i ${PIP_MIRROR} \
|
||||||
&& poetry config virtualenvs.create false \
|
&& poetry config virtualenvs.create false \
|
||||||
&& . /opt/py3/bin/activate \
|
&& . /opt/py3/bin/activate \
|
||||||
&& poetry install
|
&& poetry install --with xpack
|
||||||
|
|
||||||
COPY --from=stage-1 /opt/jumpserver /opt/jumpserver
|
COPY --from=stage-1 /opt/jumpserver /opt/jumpserver
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue