11 lines
358 B
Bash
Executable File
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'" |