dropshell/source/build_static.sh
Your Name 1b35f74bfe
Some checks failed
Dropshell Test / Build_and_Test (push) Failing after 1m15s
Seems to be fully statically built now.
2025-05-25 23:47:12 +12:00

11 lines
358 B
Bash
Executable File

#!/bin/bash
# Build the Docker image
docker build -t dropshell-static-builder .
# Create a container and copy the binary
docker create --name temp-container dropshell-static-builder
docker cp temp-container:/build/build_static/dropshell ./output/dropshell-static
docker rm temp-container
echo "Static binary has been created as 'output/dropshell-static'"