Skip to content

Commit

Permalink
[ci] Disable DOCKER_BUILDKIT in pipeline build for OOM issue. (#13702)
Browse files Browse the repository at this point in the history
Why I did it
New docker release v23.0 uses BUILDKIT by default.
It leads to OOM issue in pipeline build.

##[error]Exit code 137 returned from process: file name '/agent/externals/node16/bin/node',
How I did it
Disable BUILDKIT when building sonic-slave-* image.
Keep checking if there are issues when building docker image inside sonic-slave-*.

How to verify it
Check docker build logs.
Disable BUILDKIT log:

Step 1/80 : FROM publicmirror.azurecr.io/debian:buster
 ---> ff5db168d4c5
  • Loading branch information
liushilongbuaa authored Feb 8, 2023
1 parent 5e6e2c8 commit 8867dee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .azure-pipelines/template-variables.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ variables:
SONIC_SLAVE_DOCKER_DRIVER: 'overlay2'
SONIC_BUILD_RETRY_COUNT: 3
SONIC_BUILD_RETRY_INTERVAL: 600
DOCKER_BUILDKIT: 0

0 comments on commit 8867dee

Please sign in to comment.