From 91f2b6d8e06de864cd6f43d06b5581ec101f94ff Mon Sep 17 00:00:00 2001 From: Kali Kaneko Date: Mon, 12 Feb 2018 19:15:16 +0100 Subject: [pkg] rename bundler image --- pkg/docker_bundleapt/Makefile | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'pkg/docker_bundleapt') 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 -- cgit v1.2.3