docker-postgres/Makefile
RouxAntoine 34dda4a918
All checks were successful
Main / build (push) Successful in 3m10s
feature: setup pgtop in container
2023-12-02 21:56:00 +01:00

22 lines
453 B
Makefile

.PHONY: imagePostgres
REGISTRY_NAME=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_NAME):5000/postgres:latest || true
docker-multi-arch-builder build -n postgres --platforms $(PLATFORM) -v $(VERBOSITY) -r $(REGISTRY_NAME)
## management
status:
@curl -s $(REGISTRY_NAME):5000/v2/_catalog | jq