all: don't use cache, save some space

This commit is contained in:
Connor Olding 2022-10-18 19:02:19 -07:00
parent 46feeb23c8
commit 53bcb46c1c

View file

@ -17,8 +17,7 @@ RUN : \
mode "$mode" \
;
RUN --mount=type=cache,id=cosmo-build-all,target=/cosmopolitan/o,sharing=locked \
--mount=type=tmpfs,target=/tmp : \
RUN --mount=type=tmpfs,target=/tmp : \
&& . ./env \
&& if [ -e o.old ] \
;then : \
@ -44,4 +43,6 @@ RUN --mount=type=cache,id=cosmo-build-all,target=/cosmopolitan/o,sharing=locked
'!' -name '*_test.*' '!' -name 'test_*' -exec \
install -m0755 -t /usr/local/bin {} \
+ \
# save some space: \
&& find o '(' -name '*.com.dbg' -o -name '*_test.*' -o -name 'test_*' ')' -delete \
;