diff options
author | Daniel Friesel <derf@finalrewind.org> | 2020-04-25 20:35:28 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2020-04-25 20:35:28 +0200 |
commit | 51e38c5fa97aec201139f358732b8c4a54e81446 (patch) | |
tree | 39e3e452e761b335ca78ec4f516d8999af9f3dcb /scripts/makedeb-docker | |
parent | e57b9ea3df711dc6283a0a197bedf48d9167122f (diff) |
Add Dockerfile and docker-based .deb build scripts
Diffstat (limited to 'scripts/makedeb-docker')
-rwxr-xr-x | scripts/makedeb-docker | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts/makedeb-docker b/scripts/makedeb-docker new file mode 100755 index 0000000..6c06971 --- /dev/null +++ b/scripts/makedeb-docker @@ -0,0 +1,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" |