mirror of
https://github.com/docker/compose.git
synced 2025-07-23 21:54:40 +02:00
don't create from run command during dependencies creation process
Signed-off-by: Guillaume Lours <705411+glours@users.noreply.github.com>
This commit is contained in:
parent
149b882ebf
commit
769b7391ba
@ -190,8 +190,10 @@ func (s *composeService) startDependencies(ctx context.Context, project *types.P
|
|||||||
project.Services = dependencies
|
project.Services = dependencies
|
||||||
project.DisabledServices[options.Service] = requestedService
|
project.DisabledServices[options.Service] = requestedService
|
||||||
}
|
}
|
||||||
|
project.DisabledServices[options.Service] = requestedService
|
||||||
|
delete(project.Services, options.Service)
|
||||||
|
|
||||||
err := s.Create(ctx, project, api.CreateOptions{
|
err = s.Create(ctx, project, api.CreateOptions{
|
||||||
Build: options.Build,
|
Build: options.Build,
|
||||||
IgnoreOrphans: options.IgnoreOrphans,
|
IgnoreOrphans: options.IgnoreOrphans,
|
||||||
RemoveOrphans: options.RemoveOrphans,
|
RemoveOrphans: options.RemoveOrphans,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user