summaryrefslogtreecommitdiff
path: root/scripts/makedeb-docker
blob: 60e104771f664a78f9ddccc9a1398eb1bbc6f002 (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}" \
	debian:buster /scripts/makedeb-docker-helper

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