build.Containerfile: use cache for Gradle/Maven build artifacts

This commit is contained in:
Andreas Schildbach 2025-02-04 13:57:45 +01:00
parent e7e8af6a10
commit cd6628088a

View file

@ -42,6 +42,7 @@ RUN --mount=target=/home/builder/android-sdk,type=cache,uid=1000,gid=1000,sharin
# build project
RUN --mount=target=/home/builder/android-sdk,type=cache,uid=1000,gid=1000,sharing=locked \
--mount=target=/home/builder/.gradle,type=cache,uid=1000,gid=1000,sharing=locked \
if [ -e /dev/fuse ] ; \
then /bin/mv project project.u && /bin/mkdir project && \
/usr/bin/disorderfs --sort-dirents=yes --reverse-dirents=no project.u project ; \