diff --git a/docker-compose-generator/src/DockerComposeDefinition.cs b/docker-compose-generator/src/DockerComposeDefinition.cs index 8b866b5..9d09f99 100644 --- a/docker-compose-generator/src/DockerComposeDefinition.cs +++ b/docker-compose-generator/src/DockerComposeDefinition.cs @@ -106,7 +106,9 @@ namespace DockerGenerator unprocessedFragments.Remove(fragment); } - foreach (var fragment in requiredFragments.Concat(recommendedFragments).Where(f => !processedFragments.Contains(f))) + foreach (var fragment in requiredFragments + .Concat(recommendedFragments) + .Where(f => !processedFragments.Contains(f) && !fragmentsNotFound.Contains(f))) { unprocessedFragments.Add(fragment); }