Skip to content

Commit 8ce656c

Browse files
azure-sdkbenbp
andauthored
Set DOCKER_BUILDKIT to 1 in stress deploy image build (#21246)
Co-authored-by: Ben Broderick Phillips <[email protected]>
1 parent b0591d0 commit 8ce656c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

eng/common/scripts/stress-testing/stress-test-deployment-lib.ps1

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,9 @@ function DeployStressPackage(
271271
Write-Host "Building and pushing stress test docker image '$imageTag'"
272272
$dockerFile = Get-ChildItem $dockerFilePath
273273

274+
Write-Host "Setting DOCKER_BUILDKIT=1"
275+
$env:DOCKER_BUILDKIT = 1
276+
274277
$dockerBuildCmd = "docker", "build", "-t", $imageTag, "-f", $dockerFile
275278
foreach ($buildArg in $dockerBuildConfig.scenario.GetEnumerator()) {
276279
$dockerBuildCmd += "--build-arg"

0 commit comments

Comments
 (0)