From 36f12a5c6fbfbd9f552c8c40c962a67387526017 Mon Sep 17 00:00:00 2001 From: Edmund Miller Date: Tue, 6 May 2025 08:33:30 -0500 Subject: [PATCH] build: Set process arch for arm64 This should use arm64 based images on macos and linux. For the nf-core arm profile we were use x86 emulation. This "translates" the instructions with rosetta under the hood. Docker runs in a linux vm on Mac so it should be able to use the arm64 images natively. --- nextflow.config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nextflow.config b/nextflow.config index db7ebce1a5..6afb3aafb5 100644 --- a/nextflow.config +++ b/nextflow.config @@ -178,7 +178,7 @@ profiles { docker.runOptions = '-u $(id -u):$(id -g)' } arm { - docker.runOptions = '-u $(id -u):$(id -g) --platform=linux/amd64' + process.arch = 'arm64' } singularity { singularity.enabled = true