Seems to be fully statically built now.
Some checks failed
Dropshell Test / Build_and_Test (push) Failing after 1m15s
Some checks failed
Dropshell Test / Build_and_Test (push) Failing after 1m15s
This commit is contained in:
@ -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.*
|
Reference in New Issue
Block a user