You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by ae...@apache.org on 2017/03/08 23:46:06 UTC
[08/33] hadoop git commit: HADOOP-14026. start-build-env.sh: invalid docker image name (Contributed by Gergő Pásztor via Daniel Templeton)
HADOOP-14026. start-build-env.sh: invalid docker image name (Contributed by Gerg\u0151 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/c854e859
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/c854e859
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/c854e859
Branch: refs/heads/HDFS-7240
Commit: c854e859eb9d2348ab2f3d516c81deca479c2949
Parents: 2bbbf34
Author: Daniel Templeton <te...@apache.org>
Authored: Sat Mar 4 11:00:03 2017 -0800
Committer: Anu Engineer <ae...@apache.org>
Committed: Wed Mar 8 15:33:57 2017 -0800
----------------------------------------------------------------------
start-build-env.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hadoop/blob/c854e859/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