blob: 0900656be77604119af49d70eda31bec885dd66f (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#!/bin/bash
# Quick script to recalculate checksum using docker image.
if ! docker inspect --type=image alpine-abuild >/dev/null 2>&1; then
docker build -t alpine-abuild - <"${0%/*}/.Dockerfile"
fi
docker run -i --rm -v "$PWD:/pkg" alpine-abuild /bin/sh -s <<EOF
cd /pkg
abuild checksum
EOF
|