From 74ac9ee091afd1cd7c27fc65392d62196dd2122e Mon Sep 17 00:00:00 2001 From: Steffen Persch Date: Wed, 11 Dec 2024 02:26:46 +0100 Subject: [PATCH] Map aarch64 to arm64 to fix docker issue on MacOS with Apple ARM chips (#26) fixes #18 --- src/Minifier/SystemUtils.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Minifier/SystemUtils.php b/src/Minifier/SystemUtils.php index 9423981..46b464d 100644 --- a/src/Minifier/SystemUtils.php +++ b/src/Minifier/SystemUtils.php @@ -64,7 +64,7 @@ private function getArchitecture(string $architecture): ?string { return match (\strtolower($architecture)) { 'amd64', 'x86_64' => self::ARCH_AMD64, - 'arm64' => self::ARCH_ARM64, + 'aarch64', 'arm64' => self::ARCH_ARM64, 'i386', 'i686' => self::ARCH_X86, default => null, };