Skip to content

Commit 08c9b74

Browse files
authored
Use Permissive network isolation policy to workaround images reaching out to nuget.org (#1287)
1 parent b44a5dd commit 08c9b74

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

eng/pipelines/dotnet-framework-samples.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ extends:
3939
parameters:
4040
reposToExcludeFromScanning:
4141
- VersionsRepo
42+
# Use "Permissive" network policy because .NET Framework image builds
43+
# reach out to nuget.org. Remove this parameter when the following issue is
44+
# resolved: https://github.com/microsoft/dotnet-framework-docker/issues/1286
45+
networkIsolationPolicy: Permissive
4246
stages:
4347
- template: /eng/docker-tools/templates/stages/dotnet/publish-config-${{ iif(contains(variables['Build.DefinitionName'], '-official'), 'prod', 'nonprod') }}.yml@self
4448
parameters:

eng/pipelines/dotnet-framework.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ extends:
3939
parameters:
4040
reposToExcludeFromScanning:
4141
- VersionsRepo
42+
# Use "Permissive" network policy because .NET Framework image builds
43+
# reach out to nuget.org. Remove this parameter when the following issue is
44+
# resolved: https://github.com/microsoft/dotnet-framework-docker/issues/1286
45+
networkIsolationPolicy: Permissive
4246
stages:
4347
- template: /eng/docker-tools/templates/stages/dotnet/publish-config-${{ iif(contains(variables['Build.DefinitionName'], '-official'), 'prod', 'nonprod') }}.yml@self
4448
parameters:

0 commit comments

Comments
 (0)