Skip to content

Commit 96c40b6

Browse files
daramirgrandizzy
andauthored
feat: add Alpine Linux support to foundryup (#10257)
* 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. * Bump foundryup version --------- Co-authored-by: grandizzy <[email protected]> Co-authored-by: grandizzy <[email protected]>
1 parent 497b6ee commit 96c40b6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

foundryup/foundryup

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set -eo pipefail
44
# NOTE: if you make modifications to this script, please increment the version number.
55
# Major / minor: incremented for each stable release of Foundry.
66
# Patch: incremented for each change between stable releases.
7-
FOUNDRYUP_INSTALLER_VERSION="1.0.1"
7+
FOUNDRYUP_INSTALLER_VERSION="1.1.0"
88

99
BASE_DIR=${XDG_CONFIG_HOME:-$HOME}
1010
FOUNDRY_DIR=${FOUNDRY_DIR:-"$BASE_DIR/.foundry"}
@@ -118,7 +118,7 @@ main() {
118118
PLATFORM=$(tolower "${FOUNDRYUP_PLATFORM:-$uname_s}")
119119
EXT="tar.gz"
120120
case $PLATFORM in
121-
linux) ;;
121+
linux|alpine) ;;
122122
darwin|mac*)
123123
PLATFORM="darwin"
124124
;;
@@ -272,7 +272,7 @@ OPTIONS:
272272
-p, --path Build and install a local repository
273273
-j, --jobs Number of CPUs to use for building Foundry (default: all CPUs)
274274
--arch Install a specific architecture (supports amd64 and arm64)
275-
--platform Install a specific platform (supports win32, linux, and darwin)
275+
--platform Install a specific platform (supports win32, linux, darwin and alpine)
276276
EOF
277277
}
278278

0 commit comments

Comments
 (0)