hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From templ...@apache.org
Subject hadoop git commit: HADOOP-14026. start-build-env.sh: invalid docker image name (Contributed by Gergő Pásztor via Daniel Templeton)
Date Sat, 04 Mar 2017 19:02:35 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-2 2288857e3 -> c8b96296b


HADOOP-14026. start-build-env.sh: invalid docker image name (Contributed by Gergő Pásztor
via Daniel Templeton)

(cherry picked from commit 6757329c43c1d6586c135b5aa00f144dd0d8d2f1)


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

Branch: refs/heads/branch-2
Commit: c8b96296b26fab1b2637ee70676710c1560e96b5
Parents: 2288857
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:02:18 2017 -0800

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


http://git-wip-us.apache.org/repos/asf/hadoop/blob/c8b96296/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