2022-04-23 08:17:51 +00:00
|
|
|
.PHONY: imageDnsCryptProxy
|
|
|
|
|
|
|
|
# linux
|
|
|
|
# linux/arm/v7
|
|
|
|
# linux/arm/v6
|
|
|
|
# linux/arm64
|
|
|
|
# linux/amd64
|
|
|
|
PLATFORM=linux/arm/v6
|
2022-11-28 23:14:28 +00:00
|
|
|
REGISTRY_IP=192.168.2.18
|
2022-04-23 08:17:51 +00:00
|
|
|
|
|
|
|
## 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
|