From ab0455b8d5a1d0ba8050f207f4b835b4d5529830 Mon Sep 17 00:00:00 2001 From: "Travis F. Collins" Date: Tue, 5 Jul 2022 17:10:32 -0600 Subject: [PATCH] Update ARM builds to use --platform flag Signed-off-by: Travis F. Collins --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 3cbe04354..dcffb5ecc 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -273,7 +273,7 @@ stages: displayName: 'Setup' - script: | set -e - sudo docker run --rm -t --privileged -e ARTIFACTNAME=$(artifactName) -v "$(Agent.BuildDirectory)/s":"/ci" -v "/usr/bin/qemu-$(arch)-static":"/usr/bin/qemu-$(arch)-static" "$(image)" /bin/bash -c "cd /ci/ && chmod +x ./CI/azure/$(build_script) && ./CI/azure/$(build_script)" + sudo docker run --platform "linux/$(arch)" --rm -t --privileged -e ARTIFACTNAME=$(artifactName) -v "$(Agent.BuildDirectory)/s":"/ci" -v "/usr/bin/qemu-$(arch)-static":"/usr/bin/qemu-$(arch)-static" "$(image)" /bin/bash -c "cd /ci/ && chmod +x ./CI/azure/$(build_script) && ./CI/azure/$(build_script)" displayName: 'Build' - task: CopyFiles@2 inputs: