hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kkarana...@apache.org
Subject [30/50] hadoop git commit: HADOOP-14026. start-build-env.sh: invalid docker image name (Contributed by Gergő Pásztor via Daniel Templeton)
Date Tue, 07 Mar 2017 23:10:44 GMT
HADOOP-14026. start-build-env.sh: invalid docker image name (Contributed by Gergő Pásztor
via Daniel Templeton)


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/c8bd8ac7
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/c8bd8ac7
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/c8bd8ac7

Branch: refs/heads/YARN-5972
Commit: c8bd8ac7f9642b8db5949a914f209d5de3d4ef9b
Parents: c1386a9
Author: Daniel Templeton <templedf@apache.org>
Authored: Sat Mar 4 11:00:03 2017 -0800
Committer: Daniel Templeton <templedf@apache.org>
Committed: Sat Mar 4 11:01:44 2017 -0800

----------------------------------------------------------------------
 start-build-env.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/c8bd8ac7/start-build-env.sh
----------------------------------------------------------------------
diff --git a/start-build-env.sh b/start-build-env.sh
index 1fa084f..18e3a8c 100755
--- a/start-build-env.sh
+++ b/start-build-env.sh
@@ -31,7 +31,7 @@ else # boot2docker uid and gid
   GROUP_ID=50
 fi
 
-docker build -t "hadoop-build-${USER_NAME}" - <<UserSpecificDocker
+docker build -t "hadoop-build-${USER_ID}" - <<UserSpecificDocker
 FROM hadoop-build
 RUN groupadd --non-unique -g ${GROUP_ID} ${USER_NAME}
 RUN useradd -g ${GROUP_ID} -u ${USER_ID} -k /root -m ${USER_NAME}
@@ -47,4 +47,4 @@ docker run --rm=true -t -i \
   -w "/home/${USER_NAME}/hadoop" \
   -v "${HOME}/.m2:/home/${USER_NAME}/.m2" \
   -u "${USER_NAME}" \
-  "hadoop-build-${USER_NAME}"
+  "hadoop-build-${USER_ID}"


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


Mime
View raw message