Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update example in the Compose Build Specification (additional_contexts) to ease it's understanding #22140

Merged
merged 1 commit into from
Mar 3, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Update build.md
There might by a slight error when illustrating the `additional_contexts` attribute. The compose file declares two services with the same name.
It might induce misunderstanding, especially since the second service's image uses the first one to build upon.
  • Loading branch information
eguerlain authored Mar 1, 2025
commit f52da04df6422979c845bed1b0be5e99395dd441
2 changes: 1 addition & 1 deletion content/reference/compose-file/build.md
Original file line number Diff line number Diff line change
@@ -130,7 +130,7 @@ services:
dockerfile_inline: |
FROM alpine
RUN ...
base:
my-service:
build:
context: .
dockerfile_inline: |