feat: Add cache for dnf5
This commit is contained in:
parent
4e81c24fbc
commit
85bb813e75
1 changed files with 1 additions and 0 deletions
|
|
@ -27,6 +27,7 @@ RUN \
|
|||
{%- endif %}
|
||||
--mount=type=bind,from={{ build_scripts_image }},src=/scripts/,dst=/tmp/scripts/ \
|
||||
--mount=type=cache,dst=/var/cache/rpm-ostree,id=rpm-ostree-cache-{{ recipe.name }}-{{ recipe.image_version }},sharing=locked \
|
||||
--mount=type=cache,dst=/var/cache/libdnf5,id=dnf-cache-{{ recipe.name }}-{{ recipe.image_version }},sharing=locked \
|
||||
/tmp/scripts/run_module.sh '{{ module.module_type }}' '{{ module|json|safe }}' \
|
||||
&& ostree container commit
|
||||
{%- endif %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue