summaryrefslogtreecommitdiff
path: root/docker/builder.sh
diff options
context:
space:
mode:
authorkali kaneko (leap communications) <kali@leap.se>2020-04-21 19:58:08 +0200
committerkali kaneko (leap communications) <kali@leap.se>2020-04-30 22:10:24 +0200
commite977c3028d1bb0993b6c5bf29fcfb98b84d0870a (patch)
treede052a9c6c13be05c98945700b8f15b8a14c2af3 /docker/builder.sh
parentb093455df6fb4dc2d9c1339a3ccff0aa6396088b (diff)
[pkg] update to eoan, go versions, add helper script
Diffstat (limited to 'docker/builder.sh')
-rwxr-xr-xdocker/builder.sh20
1 files changed, 20 insertions, 0 deletions
diff --git a/docker/builder.sh b/docker/builder.sh
new file mode 100755
index 0000000..dad7800
--- /dev/null
+++ b/docker/builder.sh
@@ -0,0 +1,20 @@
+#!/bin/bash
+set -e
+export DESTDIR=/bitmask-vpn.orig/deploy/
+rm -rf /bitmask-vpn
+cp -r /bitmask-vpn.orig /bitmask-vpn
+cd /bitmask-vpn
+make prepare
+make build
+case $XBUILD in
+ win)
+ make package_win
+ ;;
+ osx)
+ make package_osx
+ ;;
+ yes)
+ make packages
+ ;;
+esac
+cp /bitmask-vpn/deploy/* $DESTDIR