summaryrefslogtreecommitdiff
path: root/pkg/docker_bundleapt
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2018-02-12 19:15:16 +0100
committerKali Kaneko <kali@leap.se>2018-02-15 16:36:43 +0100
commit91f2b6d8e06de864cd6f43d06b5581ec101f94ff (patch)
treec47dc977b5caa22beb0b33a21edd1e06bc488103 /pkg/docker_bundleapt
parent03e4bae0942c58344d6021fdaa08342baa7aea3c (diff)
[pkg] rename bundler image
Diffstat (limited to 'pkg/docker_bundleapt')
-rw-r--r--pkg/docker_bundleapt/Makefile16
1 files changed, 10 insertions, 6 deletions
diff --git a/pkg/docker_bundleapt/Makefile b/pkg/docker_bundleapt/Makefile
index a9eaa7c7..e68a9cf5 100644
--- a/pkg/docker_bundleapt/Makefile
+++ b/pkg/docker_bundleapt/Makefile
@@ -1,16 +1,20 @@
+IMAGE=bitmask-bundler-apt
+
+# for leap registry
+
build:
- docker build -t 0xacab.org:4567/leap/docker/bitmask-bundler:latest .
+ docker build -t 0xacab.org:4567/leap/docker/$(IMAGE):latest .
push:
- docker push 0xacab.org:4567/leap/docker/bitmask-bundler:latest
+ docker push 0xacab.org:4567/leap/docker/$(IMAGE):latest
login:
docker login 0xacab.org:4567
-# local tests
+# for local tests
bundler:
- docker build -t bundler .
+ docker build -t $(IMAGE) .
shell:
- docker run -i -t bundler bash
+ 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 bundler bash
+ 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