From 3c0930598d9fb0b536d175d57c77f616cd8c5383 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 18 Feb 2026 10:36:35 +0000 Subject: [PATCH] docs: address issue #24158 (#24159) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## 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> --- .../manuals/compose/how-tos/multiple-compose-files/extends.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/manuals/compose/how-tos/multiple-compose-files/extends.md b/content/manuals/compose/how-tos/multiple-compose-files/extends.md index d2dccccbc5..41407eb2b2 100644 --- a/content/manuals/compose/how-tos/multiple-compose-files/extends.md +++ b/content/manuals/compose/how-tos/multiple-compose-files/extends.md @@ -66,7 +66,7 @@ To include the service `webapp` in the final project when extending services fro ```yaml services: web: - build: alpine + build: ./alpine command: echo extends: file: common-services.yml @@ -86,7 +86,7 @@ If you define services in the same Compose file and extend one service from anot ```yaml services: web: - build: alpine + build: ./alpine extends: webapp webapp: environment: