summaryrefslogtreecommitdiff
path: root/docker/Makefile
diff options
context:
space:
mode:
authorkali kaneko (leap communications) <kali@leap.se>2020-04-21 19:58:23 +0200
committerkali kaneko (leap communications) <kali@leap.se>2020-04-30 22:10:24 +0200
commitb3ad57b705e7ad9bbf01aa3586fb15612cec38dc (patch)
tree6436c704b28af4567663bc72a19a0ee8aa8eec97 /docker/Makefile
parente977c3028d1bb0993b6c5bf29fcfb98b84d0870a (diff)
[pkg] target to build windows pkg in container
Diffstat (limited to 'docker/Makefile')
-rw-r--r--docker/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/docker/Makefile b/docker/Makefile
index f3e71dd..bdcc2b8 100644
--- a/docker/Makefile
+++ b/docker/Makefile
@@ -10,5 +10,14 @@ prune:
docker system prune
login:
docker login $(REGISTRY)
+package_win:
+ docker run \
+ -e XBUILD=win \
+ -e PROVIDER=riseup \
+ -v `python3 -c 'import os; print(os.path.abspath(".."))'`:/bitmask-vpn.orig \
+ --cpus="4" \
+ -it --rm \
+ $(REGISTRY)/$(IMAGE):latest \
+ /builder.sh
shell:
docker run -v `python3 -c 'import os; print(os.path.abspath(".."))'`:/bitmask-vpn.orig -it --rm $(REGISTRY)/$(IMAGE):latest /bin/bash