Run tmpfs on /var/lib/mock (hope this works)
All checks were successful
Build docker image / build-and-publish (push) Successful in 12m41s

This commit is contained in:
Carlos Mogas da Silva 2024-12-07 23:43:39 +00:00
parent 3d304b2237
commit 7f6c070dfd
2 changed files with 4 additions and 0 deletions

View file

@ -13,5 +13,6 @@ COPY entrypoint.sh /
RUN chmod +x /entrypoint.sh RUN chmod +x /entrypoint.sh
COPY site-defaults.cfg /etc/mock/ COPY site-defaults.cfg /etc/mock/
ENTRYPOINT ["/entrypoint.sh"] ENTRYPOINT ["/entrypoint.sh"]

View file

@ -10,6 +10,9 @@ SYSTEM=${INPUT_SYSTEM}
ARCH=${INPUT_ARCH} ARCH=${INPUT_ARCH}
NOCHECK=${INPUT_NOCHECK} NOCHECK=${INPUT_NOCHECK}
rm -rf /var/lib/mock/*
mount -t tmpfs tmpfs /var/lib/mock
RESULT="rpms=[" RESULT="rpms=["
for SPEC in ${SPECS[@]}; do for SPEC in ${SPECS[@]}; do