1
0
mirror of https://github.com/kylemanna/docker-aosp synced 2026-08-11 16:33:05 +00:00

CCache doesn't seem to be working -- add this in the entrypoint

This commit is contained in:
Robert O'Connor
2017-07-15 19:12:25 -04:00
parent a1beead8d4
commit 3a961ec2a1
2 changed files with 4 additions and 4 deletions
+4
View File
@@ -17,6 +17,10 @@ set -e
if [ -z ${USER_ID+x} ]; then USER_ID=1000; fi
if [ -z ${GROUP_ID+x} ]; then GROUP_ID=1000; fi
# ccache
export CCACHE_DIR=/tmp/ccache
export USE_CCACHE=1
msg="docker_entrypoint: Creating user UID/GID [$USER_ID/$GROUP_ID]" && echo $msg
groupadd -g $GROUP_ID -r aosp && \
useradd -u $USER_ID --create-home -r -g aosp aosp