Skip to content

Commit f52da04

Browse files
authored
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.
1 parent ae3eec2 commit f52da04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/reference/compose-file/build.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ services:
130130
dockerfile_inline: |
131131
FROM alpine
132132
RUN ...
133-
base:
133+
my-service:
134134
build:
135135
context: .
136136
dockerfile_inline: |

0 commit comments

Comments
 (0)