Skip to content

Commit e4fb554

Browse files
committed
build do not require environment to be reslved
Signed-off-by: Nicolas De Loof <[email protected]>
1 parent 74cc091 commit e4fb554

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/compose/build.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ func buildCommand(p *ProjectOptions, dockerCli command.Cli, backend api.Service)
131131
}
132132

133133
func runBuild(ctx context.Context, dockerCli command.Cli, backend api.Service, opts buildOptions, services []string) error {
134-
project, err := opts.ToProject(dockerCli, services, cli.WithResolvedPaths(true))
134+
project, err := opts.ToProject(dockerCli, services, cli.WithResolvedPaths(true), cli.WithoutEnvironmentResolution)
135135
if err != nil {
136136
return err
137137
}

0 commit comments

Comments
 (0)