From 199d86690171d076411cc2781e34e3dcb3fa7842 Mon Sep 17 00:00:00 2001 From: daramir <4935829+daramir@users.noreply.github.com> Date: Sun, 6 Apr 2025 23:17:51 +1000 Subject: [PATCH] feat: add Alpine Linux support to foundryup This change adds Alpine Linux as a supported platform in `foundryup` script, enabling straightforward installation on Alpine systems. Alpine binaries (which use MUSL instead of GNU libc) have been available in nightly builds since PR #10086. This commit makes Alpine a first-class supported platform alongside existing ones. This benefits teams working in lightweight Alpine-based environments (e.g. CI, containers) and other systems that favor MUSL's smaller footprint. --- foundryup/foundryup | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/foundryup/foundryup b/foundryup/foundryup index a3a6d1bb58823..0efa3e557f17b 100755 --- a/foundryup/foundryup +++ b/foundryup/foundryup @@ -118,7 +118,7 @@ main() { PLATFORM=$(tolower "${FOUNDRYUP_PLATFORM:-$uname_s}") EXT="tar.gz" case $PLATFORM in - linux) ;; + linux|alpine) ;; darwin|mac*) PLATFORM="darwin" ;; @@ -272,7 +272,7 @@ OPTIONS: -p, --path Build and install a local repository -j, --jobs Number of CPUs to use for building Foundry (default: all CPUs) --arch Install a specific architecture (supports amd64 and arm64) - --platform Install a specific platform (supports win32, linux, and darwin) + --platform Install a specific platform (supports win32, linux, darwin and alpine) EOF }