summaryrefslogtreecommitdiff
path: root/pkg/docker_bundler/Makefile
blob: f36d2ef12e2ac98b006200ec54656f4ac3418e2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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