HADOOP-14026. start-build-env.sh: invalid docker image name (Contributed by Gergő Pásztor via Daniel Templeton)
This commit is contained in:
parent
c1386a90d7
commit
c8bd8ac7f9
@ -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}"
|
||||
|
Loading…
Reference in New Issue
Block a user