Skip to content

Commit cf32e72

Browse files
authored
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`
1 parent 2ac86de commit cf32e72

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hermetic_build/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ libraries:
222222
--quiet \
223223
-u "$(id -u):$(id -g)" \
224224
-v "$(pwd):/workspace" \
225-
-v /path/to/api_definition:/workspace \
225+
-v /path/to/api_definition:/workspace/apis \
226226
gcr.io/cloud-devrel-public-resources/java-library-generation:image-tag
227227
```
228228

@@ -232,7 +232,7 @@ libraries:
232232
* `-v "$(pwd):/workspace"` maps the host machine's current working directory
233233
to the /workspace folder.
234234
The image is configured to perform changes in this directory.
235-
* `-v /path/to/api_definition:/workspace` maps the host machine's API
235+
* `-v /path/to/api_definition:/workspace/apis` maps the host machine's API
236236
definitions folder to `/workspace/apis` folder.
237237

238238
3. An advanced example:

0 commit comments

Comments
 (0)