Seems to be fully statically built now.
Some checks failed
Dropshell Test / Build_and_Test (push) Failing after 1m15s

This commit is contained in:
Your Name
2025-05-25 23:47:12 +12:00
parent 08794e6480
commit 1b35f74bfe
6 changed files with 57 additions and 104 deletions

View File

@ -1,24 +0,0 @@
#!/bin/bash
# build amd64 and arm64 versions of dropshell, to:
# build/dropshell.amd64
# build/dropshell.arm64
set -e
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
OUTPUT_DIR="$SCRIPT_DIR/output"
DOCKERFILE="$SCRIPT_DIR/Dockerfile.multiarch"
mkdir -p "$OUTPUT_DIR"
options="-Doptimize=ReleaseSafe -Dtarget=x86_64-linux-musl"
docker build \
--platform "linux/amd64" \
--build-arg "OPTIONS=$options" \
-f Dockerfile.multiarch \
-t dropshell-build .
echo "Builds complete:"
ls -lh "$OUTPUT_DIR"/dropshell.*