From ff191174207f173280adc003d038010e2f0e7ae7 Mon Sep 17 00:00:00 2001 From: Burke Davison <40617934+burkedavison@users.noreply.github.com> Date: Thu, 21 Nov 2024 11:09:07 -0500 Subject: [PATCH] docs: hermetic build README syntax fix (#3391) Providing the same `/workspace` mount point for two volumes produces an error. Expected second mount point is `/workspace/apis` --- hermetic_build/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hermetic_build/README.md b/hermetic_build/README.md index c9ef8c6184..0d965d935c 100644 --- a/hermetic_build/README.md +++ b/hermetic_build/README.md @@ -222,7 +222,7 @@ libraries: --quiet \ -u "$(id -u):$(id -g)" \ -v "$(pwd):/workspace" \ - -v /path/to/api_definition:/workspace \ + -v /path/to/api_definition:/workspace/apis \ gcr.io/cloud-devrel-public-resources/java-library-generation:image-tag ``` @@ -232,7 +232,7 @@ libraries: * `-v "$(pwd):/workspace"` maps the host machine's current working directory to the /workspace folder. The image is configured to perform changes in this directory. - * `-v /path/to/api_definition:/workspace` maps the host machine's API + * `-v /path/to/api_definition:/workspace/apis` maps the host machine's API definitions folder to `/workspace/apis` folder. 3. An advanced example: