From 77c18393abfa71ca0faaaeb287a477bb77780af9 Mon Sep 17 00:00:00 2001 From: Cheng Pan Date: Mon, 7 Jul 2025 11:04:45 +0800 Subject: [PATCH] HADOOP-19606. Delete the UID in the dev container that is the same as the host user --- start-build-env.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/start-build-env.sh b/start-build-env.sh index cead1eb8cdb6e..3c2a74b23b0dd 100755 --- a/start-build-env.sh +++ b/start-build-env.sh @@ -89,6 +89,7 @@ DOCKER_HOME_DIR=${DOCKER_HOME_DIR:-/home/${USER_NAME}} docker build -t "hadoop-build${OS_PLATFORM_SUFFIX}-${USER_ID}" - </dev/null || : RUN groupadd --non-unique -g ${GROUP_ID} ${USER_NAME} RUN useradd -g ${GROUP_ID} -u ${USER_ID} -k /root -m ${USER_NAME} -d "${DOCKER_HOME_DIR}" RUN echo "${USER_NAME} ALL=NOPASSWD: ALL" > "/etc/sudoers.d/hadoop-build-${USER_ID}"