2022-06-06 12:28:01 +02:00
|
|
|
.PHONY: imagePostgres
|
|
|
|
|
2023-08-19 18:15:53 +02:00
|
|
|
REGISTRY_IP=container.localdomain
|
2022-06-06 12:28:01 +02:00
|
|
|
# linux/arm/v7
|
|
|
|
# linux/arm/v6
|
|
|
|
# linux/arm64
|
|
|
|
# linux/amd64
|
2023-03-14 20:36:24 +01:00
|
|
|
PLATFORM=linux/arm/v6,linux/amd64
|
2022-06-06 12:28:01 +02:00
|
|
|
#VERBOSITY=info
|
|
|
|
VERBOSITY=debug
|
|
|
|
|
|
|
|
## build
|
|
|
|
|
|
|
|
imagePostgres:
|
2023-03-14 20:36:24 +01:00
|
|
|
docker manifest rm $(REGISTRY_IP):5000/postgres:latest || true
|
|
|
|
docker-multi-arch-builder build -n postgres --platforms $(PLATFORM) -v $(VERBOSITY)
|
2022-06-06 12:28:01 +02:00
|
|
|
|
|
|
|
## management
|
|
|
|
|
|
|
|
status:
|
|
|
|
@curl -s $(REGISTRY_IP):5000/v2/_catalog | jq
|