blob: f3e71dd48c63e65f1d603ae3283a34992e3de811 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
IMAGE=bitmask-vpn
REGISTRY=registry.0xacab.org/leap/docker
build:
mkdir -p mods && cp ../go.mod ../go.sum mods/ && cp -r ../packages mods/
docker build -t $(REGISTRY)/$(IMAGE):latest .
push:
docker push $(REGISTRY)/$(IMAGE):latest
prune:
docker system prune
login:
docker login $(REGISTRY)
shell:
docker run -v `python3 -c 'import os; print(os.path.abspath(".."))'`:/bitmask-vpn.orig -it --rm $(REGISTRY)/$(IMAGE):latest /bin/bash
|