From 12b42d9a055c1b24a618b422629bec7cd98332d6 Mon Sep 17 00:00:00 2001 From: Eduard Tolosa Date: Sat, 2 Aug 2025 12:53:33 -0500 Subject: [PATCH] (chore): update builder.sh - Now we use podman, so checking por docker service doesn't makes sense - Use cross for everything, otherwise the build ends up in glibc versions mismatch --- builder.sh | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/builder.sh b/builder.sh index e420b81..f5d867c 100755 --- a/builder.sh +++ b/builder.sh @@ -10,17 +10,9 @@ AARCH_TARGET="aarch64-unknown-linux-gnu" MANPAGE_DIR="./$NAME.1" BIN_OUTPUT_DIR="./ghbinaries" -if ! systemctl is-active docker >/dev/null 2>&1; then - echo "Docker is not running. Starting docker." - if ! sudo systemctl start docker; then - echo "Failed to start docker." - exit 1 - fi -fi - # Linux build echo "Building Linux artifact." -if cargo build -q --release --target="$LINUX_TARGET"; then +if cross build -q --release --target="$LINUX_TARGET"; then echo "Linux artifact build: SUCCESS" cp "target/$LINUX_TARGET/release/$NAME" "target/$LINUX_TARGET/release/$NAME-linux" strip "target/$LINUX_TARGET/release/$NAME-linux"