Files
p2pool-salvium/scripts/release/source/build.sh

14 lines
388 B
Bash
Raw Normal View History

2025-07-04 20:09:01 +02:00
#!/bin/sh
# Example usage: ./build.sh v4.8.1
cd "$(dirname "$0")"
2025-07-07 16:17:18 +02:00
docker build --build-arg P2POOL_VERSION=$1 -t p2pool_source_build .
2025-07-04 20:09:01 +02:00
docker create --name p2pool_source_build_container p2pool_source_build:latest
docker cp p2pool_source_build_container:/p2pool_source-$1.tar.xz ../p2pool_source-$1.tar.xz
2025-07-04 20:09:01 +02:00
docker rm p2pool_source_build_container
docker image rm -f p2pool_source_build