summaryrefslogtreecommitdiff
path: root/scripts/makedeb-docker-helper
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/makedeb-docker-helper')
-rwxr-xr-xscripts/makedeb-docker-helper11
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts/makedeb-docker-helper b/scripts/makedeb-docker-helper
new file mode 100755
index 0000000..fb90439
--- /dev/null
+++ b/scripts/makedeb-docker-helper
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+set -e
+
+mkdir -p /src/app
+cd /src/app
+
+cpan2deb --install-deps --install-build-deps "${CPANMODULE}"
+
+chown ${USER}:${GROUP} *.deb
+mv -v *.deb /out