Skip to content

Commit

Permalink
feat: Add cache for dnf5
Browse files Browse the repository at this point in the history
  • Loading branch information
gmpinder committed Nov 24, 2024
1 parent 4e81c24 commit 85bb813
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions template/templates/modules/modules.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}
Expand Down

0 comments on commit 85bb813

Please sign in to comment.