mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-04-28 19:34:53 +00:00
perf: remove cache
This commit is contained in:
parent
972afe0bfe
commit
a0ee520572
@ -59,6 +59,7 @@ RUN --mount=type=cache,target=/root/.cache \
|
|||||||
&& . /opt/py3/bin/activate \
|
&& . /opt/py3/bin/activate \
|
||||||
&& poetry config virtualenvs.create false \
|
&& poetry config virtualenvs.create false \
|
||||||
&& poetry config repositories.pypi ${PIP_MIRROR} \
|
&& poetry config repositories.pypi ${PIP_MIRROR} \
|
||||||
&& poetry install --only main \
|
&& poetry install --no-cache --only main \
|
||||||
&& ansible-galaxy collection install -r collections.yml --force --ignore-certs \
|
&& ansible-galaxy collection install -r collections.yml --force --ignore-certs \
|
||||||
&& bash clean_site_packages.sh
|
&& bash clean_site_packages.sh \
|
||||||
|
&& poetry cache clear pypi --all
|
||||||
|
@ -29,5 +29,6 @@ RUN set -ex \
|
|||||||
&& . /opt/py3/bin/activate \
|
&& . /opt/py3/bin/activate \
|
||||||
&& pip install poetry -i ${PIP_MIRROR} \
|
&& pip install poetry -i ${PIP_MIRROR} \
|
||||||
&& poetry config repositories.pypi ${PIP_MIRROR} \
|
&& poetry config repositories.pypi ${PIP_MIRROR} \
|
||||||
&& poetry install --only xpack
|
&& poetry install --only xpack \
|
||||||
|
&& poetry cache clear pypi --all
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user