summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKali Kaneko (leap communications) <kali@leap.se>2016-12-29 23:20:13 +0100
committerKali Kaneko (leap communications) <kali@leap.se>2016-12-29 23:20:13 +0100
commit7e86aa78721aa0a5a291bcf08fab2fb311cb8026 (patch)
treeac971375d8fd94eae39aa499bda6ffb1db1aaa97 /Makefile
parentc4b48f066876842a7321b211f369dce4ef305b08 (diff)
[pkg] add docker files to build bundle
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 462caec5..00552257 100644
--- a/Makefile
+++ b/Makefile
@@ -37,3 +37,11 @@ qt-resources:
doc:
cd docs && make html
+
+docker_container:
+ cd pkg/docker_bundle && docker build -t mybundle
+
+bundle_in_docker:
+ # needs a docker container called 'mybundle', created with 'make docker_container'
+ cat pkg/docker_build | docker run -i -v ~/leap/bitmask-dev:/dist -w /dist -u `id -u` mybundle bash
+ mkdir -p dist && cp -r bitmaskbuild/dist/* dist