summaryrefslogtreecommitdiff
path: root/scripts/makedeb-docker
blob: 6c069717b6515e4859cbd916c16e2aab919669da (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

mkdir -p out

docker run --rm -v "${PWD}:/orig:ro" -v "${PWD}/scripts:/scripts:ro" \
	-v "${PWD}/out:/out" -e USER=$(id -u) -e GROUP=$(id -g) \
	-e "DEBEMAIL=${DEBEMAIL}" -e "DEBFULLNAME=${DEBFULLNAME}" \
	-e "LOGNAME=${LOGNAME}" -e "VERSION=$(git describe --dirty)-1" \
	debian:buster /scripts/makedeb-docker-helper

echo "Debian package has been written to $(pwd)/out"