diff options
author | Kali Kaneko <kali@leap.se> | 2018-02-15 17:32:28 +0100 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2018-02-15 17:32:28 +0100 |
commit | 0388014636ce25fd1786c8bb79727dd643604f11 (patch) | |
tree | 38a8c9553488e5cce07dc444efdc5e4145c66f75 /pkg/docker_bundler/Makefile | |
parent | 16e8c9179b15f10570670e6068f87357427fd12b (diff) |
[pkg] rename bundling scripts to add clarity
Diffstat (limited to 'pkg/docker_bundler/Makefile')
-rw-r--r-- | pkg/docker_bundler/Makefile | 22 |
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 |