This is an automated email from the ASF dual-hosted git repository.
hangc0276 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/bookkeeper.git
The following commit(s) were added to refs/heads/master by this push:
new 55e0088171 Fix release user id (#4806)
55e0088171 is described below
commit 55e0088171b1a502e39886eab09015be3507ef89
Author: Hang Chen <[email protected]>
AuthorDate: Mon Jun 1 10:50:47 2026 -0700
Fix release user id (#4806)
---
dev/release/000-run-docker.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev/release/000-run-docker.sh b/dev/release/000-run-docker.sh
index 845b17ec7e..88f25f3efd 100755
--- a/dev/release/000-run-docker.sh
+++ b/dev/release/000-run-docker.sh
@@ -50,7 +50,7 @@ fi
docker buildx build --platform linux/amd64 -t "${IMAGE_NAME}-${USER_NAME}" -
<<UserSpecificDocker
FROM ${IMAGE_NAME}
RUN if ! getent group ${GROUP_ID} > /dev/null; then groupadd --non-unique -g
${GROUP_ID} ${USER_NAME}; fi && \
- if ! getent passwd ${USER_NAME} > /dev/null; then useradd -l -g ${GROUP_ID}
-u ${GROUP_ID} -k /root -m ${USER_NAME}; fi && \
+ if ! getent passwd ${USER_NAME} > /dev/null; then useradd -l -g ${GROUP_ID}
-u ${USER_ID} -k /root -m ${USER_NAME}; fi && \
([ "$(dirname "$HOME")" = "/home" ] || ln -s /home $(dirname "$HOME")) && \
mkdir -p /gpg && chown ${USER_ID}:${GROUP_ID} /gpg && chmod 700 /gpg
ENV HOME /home/${USER_NAME}