This is an automated email from the ASF dual-hosted git repository.
joshfischer pushed a commit to branch joshfischer/asf-site
in repository https://gitbox.apache.org/repos/asf/incubator-heron.git
The following commit(s) were added to refs/heads/joshfischer/asf-site by this
push:
new 89a6fb0 updating compile docker script to run as host user
89a6fb0 is described below
commit 89a6fb01cc958328e132c48ac5e97fe86774ea41
Author: Josh Fischer <[email protected]>
AuthorDate: Tue Nov 12 21:21:55 2019 -0600
updating compile docker script to run as host user
---
website2/website/scripts/compile-docker.sh | 2 ++
1 file changed, 2 insertions(+)
diff --git a/website2/website/scripts/compile-docker.sh
b/website2/website/scripts/compile-docker.sh
index e96ef73..d70bba6 100755
--- a/website2/website/scripts/compile-docker.sh
+++ b/website2/website/scripts/compile-docker.sh
@@ -58,6 +58,8 @@ docker build -t heron-compiler:$TARGET_PLATFORM -f
$DOCKER_FILE .
docker run \
--rm \
+ -u `id -u`:`id -g` \
-v $PROJECT_DIR/..:/dist \
+ -v /etc/passwd:/etc/passwd \
-t heron-compiler:$TARGET_PLATFORM make -C /dist/website2/website/ buildsite