summaryrefslogtreecommitdiff
path: root/pkg/docker_bundleapt/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/docker_bundleapt/Makefile')
-rw-r--r--pkg/docker_bundleapt/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/pkg/docker_bundleapt/Makefile b/pkg/docker_bundleapt/Makefile
new file mode 100644
index 00000000..a9eaa7c7
--- /dev/null
+++ b/pkg/docker_bundleapt/Makefile
@@ -0,0 +1,16 @@
+build:
+ docker build -t 0xacab.org:4567/leap/docker/bitmask-bundler:latest .
+push:
+ docker push 0xacab.org:4567/leap/docker/bitmask-bundler:latest
+login:
+ docker login 0xacab.org:4567
+
+# local tests
+
+bundler:
+ docker build -t bundler .
+shell:
+ docker run -i -t bundler 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 bundler bash
+