hangc0276 commented on code in PR #4428:
URL: https://github.com/apache/bookkeeper/pull/4428#discussion_r1635789362
##########
dev/release/000-run-docker.sh:
##########
@@ -47,10 +47,10 @@ else # boot2docker uid and gid
GROUP_ID=50
fi
-docker build -t "${IMAGE_NAME}-${USER_NAME}" - <<UserSpecificDocker
-FROM --platform=linux/amd64 ${IMAGE_NAME}
-RUN groupadd --non-unique -g ${GROUP_ID} ${USER_NAME} && \
- useradd -l -g ${GROUP_ID} -u ${USER_ID} -k /root -m ${USER_NAME} && \
+docker buildx build --platform linux/amd64 -t "${IMAGE_NAME}-${USER_NAME}" -
<<UserSpecificDocker
+FROM ${IMAGE_NAME}
Review Comment:
Do we need to specify the platform in FROM?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]