Skip to content

Commit 3c09305

Browse files
docs: address issue #24158 (#24159)
## Summary Changed `build: alpine` to `build: ./alpine` in extends examples to clarify it's a directory path, not an image name. ## Changes - Updated two examples in extends documentation to use `build: ./alpine` instead of `build: alpine` to avoid confusion with the Alpine Docker image Fixes #24158 --- 🤖 Generated with [cagent](https://github.com/docker/cagent) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 628cfb2 commit 3c09305

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • content/manuals/compose/how-tos/multiple-compose-files

content/manuals/compose/how-tos/multiple-compose-files/extends.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ To include the service `webapp` in the final project when extending services fro
6666
```yaml
6767
services:
6868
web:
69-
build: alpine
69+
build: ./alpine
7070
command: echo
7171
extends:
7272
file: common-services.yml
@@ -86,7 +86,7 @@ If you define services in the same Compose file and extend one service from anot
8686
```yaml
8787
services:
8888
web:
89-
build: alpine
89+
build: ./alpine
9090
extends: webapp
9191
webapp:
9292
environment:

0 commit comments

Comments
 (0)