Container: Set up ccache (per Build Guide)

This commit is contained in:
ryneeverett 2024-07-26 16:26:31 -04:00
parent 043bc811b9
commit 2fbcb51ba4

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