0

I want to pass in --isolation process to the az acr build, but cannot find a way to do it from Azure docs, what is the right way to do it?

littyk
  • 29
  • 4
  • What do you mean by isolation? please add more information – Amit Baranes Jul 20 '20 at 11:51
  • --isolation process is an argument that gets passed to a docker build command while building a docker image manually. I am trying to automate docker image building process via azure acr tasks. – littyk Jul 20 '20 at 11:59
  • @littyk Not get your latest information, is the workaround helpful for you? Or if you have any concern, feel free to share it here. – Hugh Lin Jul 23 '20 at 08:10

1 Answers1

0

According to this case with similar problem, it seems that you cannot pass the isolation parameter to az acr build command. No isolation parameter is provided in az acr build.

As workaround , you can define a task's steps in a YAML file. You can then run the task manually by passing the file to the az acr run command.

Multi-step task definition in ACR Tasks provides a container-centric compute primitive focused on building, testing, and patching containers. ACR Tasks supports multi-step task declaration in standard YAML syntax.

The build step type supports isolation property. For a detailed guide, please refer to this document.

Hugh Lin
  • 17,829
  • 2
  • 21
  • 25