summaryrefslogtreecommitdiff
path: root/pkg/docker_bundler/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/docker_bundler/Makefile')
-rw-r--r--pkg/docker_bundler/Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/pkg/docker_bundler/Makefile b/pkg/docker_bundler/Makefile
new file mode 100644
index 00000000..f36d2ef1
--- /dev/null
+++ b/pkg/docker_bundler/Makefile
@@ -0,0 +1,22 @@
+IMAGE=bitmask-bundler-apt
+
+# for leap registry
+
+build:
+ docker build -t 0xacab.org:4567/leap/docker/$(IMAGE):latest .
+push:
+ docker push 0xacab.org:4567/leap/docker/$(IMAGE):latest
+login:
+ docker login 0xacab.org:4567
+
+# for local tests
+prune:
+ docker system prune
+bundler:
+ docker build -t $(IMAGE) .
+shell:
+ docker run -i -t $(IMAGE) bash
+bundle:
+ echo "cd /src/leap/bitmask-dev && VIRTUAL_ENV=/usr/local make bundle && cp -r dist/* /dist" | docker run -i -v /srv/bitmask-builds:/dist -w /dist $(IMAGE) bash
+systray:
+ cat systray.sh | docker run -i -v /srv/bitmask-builds:/dist -w /dist $(IMAGE) bash