20 lines
384 B
Makefile
20 lines
384 B
Makefile
|
.PHONY: imageDnsCryptProxy
|
||
|
|
||
|
# linux
|
||
|
# linux/arm/v7
|
||
|
# linux/arm/v6
|
||
|
# linux/arm64
|
||
|
# linux/amd64
|
||
|
PLATFORM=linux/arm/v6
|
||
|
REGISTRY_IP=172.28.0.18
|
||
|
|
||
|
## build
|
||
|
|
||
|
imageDnsCryptProxy:
|
||
|
docker buildx build --platform $(PLATFORM) --force-rm -t $(REGISTRY_IP):5000/dnscrypt-proxy .
|
||
|
docker push $(REGISTRY_IP):5000/dnscrypt-proxy
|
||
|
|
||
|
## management
|
||
|
|
||
|
status:
|
||
|
@curl -s $(REGISTRY_IP):5000/v2/_catalog | jq
|