morningman opened a new pull request, #4626: URL: https://github.com/apache/doris-website/pull/4626
Use one branch/image/source-directory configuration throughout image selection, cloning and Docker mounts. Start the container in the mounted source directory, show one default Bash build, move optional image/JDK notes after the main workflow, and document the scoped Git ownership exception requested in the issue comments. Fixes #3540 Versions and languages: community guide, English and Chinese. Source verification: - Doris master build.sh uses a Bash shebang, BASH_SOURCE and pipefail - Doris master docker/compilation/Dockerfile starts /bin/bash and sets JAVA_HOME to JDK17; env.sh requires JDK17 - Git config local manual documents safe.directory as a per-path exception for intentionally shared repositories - Previous guide cloned into ./doris but mounted ~/doris-branch-2.0, leaving the displayed commands inconsistent Validation: - Ran bash -n on every Bash code fence in both edited guides - Checked chosen branch, image, clone destination, volume mount and container workdir use the same variables/paths - Confirmed optional note headings are preserved and archive docs unchanged - git diff --check Review: - Goal: correct the reported documentation issue; the changed content directly addresses it. - Scope: targeted documentation edits. - Information architecture: active version and locale counterparts inspected; archived snapshots unchanged. - Navigation: no paths, slugs, anchors or sidebar entries changed. - Frontend/build: no framework, styling or build-script changes. - Validation limits: no live Doris execution or full website build performed. - Other concerns: Existing headings and links are preserved; new optional-build and FAQ headings add navigation targets. No build was run and no Docker image was pulled. -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
