Container: Set up ccache (per Build Guide)

This commit is contained in:
ryneeverett 2024-07-26 16:26:31 -04:00 committed by SkewedZeppelin
parent 7d9e3d30cd
commit 4c0e3c835c

View File

@ -30,5 +30,9 @@ RUN mkdir -p /home/$username/android \
ENV HOME=/home/$username
ENV USER=$username
ENV USE_CCACHE=1
ENV CCACHE_COMPRESS=1
ENV CCACHE_COMPRESSLEVEL=1
ENV CCACHE_EXEC=/usr/bin/ccache
ENV CCACHE_DIR=/home/$username/.ccache
ENTRYPOINT chroot --userspec=$(cat /root/username):$(cat /root/username) --skip-chdir / /bin/bash -i