Skip to content

Commit

Permalink
Set DOCKER_BUILDKIT to 1 in stress deploy image build (Azure#21246)
Browse files Browse the repository at this point in the history
Co-authored-by: Ben Broderick Phillips <[email protected]>
  • Loading branch information
2 people authored and chlowell committed Jul 31, 2023
1 parent fd72cc1 commit 1d0e597
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,9 @@ function DeployStressPackage(
Write-Host "Building and pushing stress test docker image '$imageTag'"
$dockerFile = Get-ChildItem $dockerFilePath

Write-Host "Setting DOCKER_BUILDKIT=1"
$env:DOCKER_BUILDKIT = 1

$dockerBuildCmd = "docker", "build", "-t", $imageTag, "-f", $dockerFile
foreach ($buildArg in $dockerBuildConfig.scenario.GetEnumerator()) {
$dockerBuildCmd += "--build-arg"
Expand Down

0 comments on commit 1d0e597

Please sign in to comment.