docker-postgres/Makefile

22 lines
453 B
Makefile
Raw Permalink Normal View History

2022-06-06 10:28:01 +00:00
.PHONY: imagePostgres
2023-12-02 20:55:46 +00:00
REGISTRY_NAME=container.localdomain
2022-06-06 10:28:01 +00:00
# linux/arm/v7
# linux/arm/v6
# linux/arm64
# linux/amd64
PLATFORM=linux/arm/v6,linux/amd64
2022-06-06 10:28:01 +00:00
#VERBOSITY=info
VERBOSITY=debug
## build
imagePostgres:
2023-12-02 20:55:46 +00:00
docker manifest rm $(REGISTRY_NAME):5000/postgres:latest || true
docker-multi-arch-builder build -n postgres --platforms $(PLATFORM) -v $(VERBOSITY) -r $(REGISTRY_NAME)
2022-06-06 10:28:01 +00:00
## management
status:
2023-12-02 20:55:46 +00:00
@curl -s $(REGISTRY_NAME):5000/v2/_catalog | jq