Skip to content

Commit

Permalink
Map aarch64 to arm64 to fix docker issue on MacOS with Apple ARM chips (
Browse files Browse the repository at this point in the history
#26)

fixes #18
  • Loading branch information
n3o77 authored Dec 11, 2024
1 parent 58d470c commit 74ac9ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Minifier/SystemUtils.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};
Expand Down

0 comments on commit 74ac9ee

Please sign in to comment.