22 lines
453 B
Makefile
Raw Normal View History

2022-06-06 12:28:01 +02:00
.PHONY: imagePostgres
2023-12-02 21:55:46 +01:00
REGISTRY_NAME=container.localdomain
2022-06-06 12:28:01 +02:00
# linux/arm/v7
# linux/arm/v6
# linux/arm64
# linux/amd64
PLATFORM=linux/arm/v6,linux/amd64
2022-06-06 12:28:01 +02:00
#VERBOSITY=info
VERBOSITY=debug
## build
imagePostgres:
2023-12-02 21:55:46 +01: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 12:28:01 +02:00
## management
status:
2023-12-02 21:55:46 +01:00
@curl -s $(REGISTRY_NAME):5000/v2/_catalog | jq