From 0388014636ce25fd1786c8bb79727dd643604f11 Mon Sep 17 00:00:00 2001 From: Kali Kaneko Date: Thu, 15 Feb 2018 17:32:28 +0100 Subject: [pkg] rename bundling scripts to add clarity --- pkg/docker_bundler/Makefile | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 pkg/docker_bundler/Makefile (limited to 'pkg/docker_bundler/Makefile') 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 -- cgit v1.2.3