Skip to content

Commit

Permalink
Set DOCKER_BUILDKIT to 1 in stress deploy image build (#6557)
Browse files Browse the repository at this point in the history
  • Loading branch information
benbp authored Jul 24, 2023
1 parent 814bdfb commit 4e32bc2
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 4e32bc2

Please sign in to comment.