docker-postgres/Makefile
2023-08-19 18:15:53 +02:00

22 lines
427 B
Makefile

.PHONY: imagePostgres
REGISTRY_IP=container.localdomain
# linux/arm/v7
# linux/arm/v6
# linux/arm64
# linux/amd64
PLATFORM=linux/arm/v6,linux/amd64
#VERBOSITY=info
VERBOSITY=debug
## build
imagePostgres:
docker manifest rm $(REGISTRY_IP):5000/postgres:latest || true
docker-multi-arch-builder build -n postgres --platforms $(PLATFORM) -v $(VERBOSITY)
## management
status:
@curl -s $(REGISTRY_IP):5000/v2/_catalog | jq