From 0ab8f46966374f21687fcb55c242ae4dfce34620 Mon Sep 17 00:00:00 2001 From: hacknox Date: Thu, 2 Mar 2017 19:41:06 +0800 Subject: [PATCH] Fix root user $HOME path --- scripts/run-docker.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/run-docker.sh b/scripts/run-docker.sh index d15cf3aa0..c6289714d 100755 --- a/scripts/run-docker.sh +++ b/scripts/run-docker.sh @@ -13,6 +13,7 @@ docker start $CONTAINER_NAME > /dev/null 2> /dev/null || { echo "Creating new container..." docker run \ --detach \ + --env HOME=$HOME \ --name $CONTAINER_NAME \ --volume $PWD:/home/builder/termux-packages \ --tty \