Skip to content

Commit 74ac9ee

Browse files
authored
Map aarch64 to arm64 to fix docker issue on MacOS with Apple ARM chips (#26)
fixes #18
1 parent 58d470c commit 74ac9ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Minifier/SystemUtils.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ private function getArchitecture(string $architecture): ?string
6464
{
6565
return match (\strtolower($architecture)) {
6666
'amd64', 'x86_64' => self::ARCH_AMD64,
67-
'arm64' => self::ARCH_ARM64,
67+
'aarch64', 'arm64' => self::ARCH_ARM64,
6868
'i386', 'i686' => self::ARCH_X86,
6969
default => null,
7070
};

0 commit comments

Comments
 (0)