File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ Executes ImageBuilder with the specified args.
88The args to pass to ImageBuilder.
99
1010. PARAMETER ReuseImageBuilderImage
11- Indicates that a previously built ImageBuilder image is presumed to exist locally and that
11+ Indicates that a previously built ImageBuilder image is presumed to exist locally and that
1212it should be used for this execution of the script. This allows some optimization when
1313multiple calls are being made to this script that don't require a fresh image (i.e. the
1414repo contents in the image don't need to be or should not be updated with each call to
7474 }
7575 else {
7676 # On Windows, ImageBuilder is run locally due to limitations with running Docker client within a container.
77+ # Remove when https://github.com/dotnet/docker-tools/issues/159 is resolved
7778 $imageBuilderFolder = " .Microsoft.DotNet.ImageBuilder"
7879 $imageBuilderCmd = [System.IO.Path ]::Combine($imageBuilderFolder , " Microsoft.DotNet.ImageBuilder.exe" )
7980 if (-not (Test-Path - Path " $imageBuilderCmd " - PathType Leaf)) {
@@ -99,6 +100,6 @@ finally {
99100 if ($containerCreated ) {
100101 Exec " docker container rm -f $imageBuilderContainerName "
101102 }
102-
103+
103104 popd
104105}
Original file line number Diff line number Diff line change 11variables :
2- imageNames.imageBuilderName : mcr.microsoft.com/dotnet-buildtools/image-builder:2647883
2+ imageNames.imageBuilderName : mcr.microsoft.com/dotnet-buildtools/image-builder:2657098
33 imageNames.imageBuilder : $(imageNames.imageBuilderName)
44 imageNames.imageBuilder.withrepo : imagebuilder-withrepo:$(Build.BuildId)-$(System.JobId)
55 imageNames.testRunner : mcr.microsoft.com/dotnet-buildtools/prereqs:azurelinux3.0-docker-testrunner
You can’t perform that action at this time.
0 commit comments