2022-01-01 20:30:32 +00:00
|
|
|
.PHONY: imageHaproxy
|
|
|
|
|
2023-08-19 10:18:15 +00:00
|
|
|
REGISTRY_IP=container.localdomain
|
2022-01-01 20:30:32 +00:00
|
|
|
# linux/arm/v7
|
|
|
|
# linux/arm/v6
|
|
|
|
# linux/arm64
|
|
|
|
# linux/amd64
|
2022-01-08 15:33:38 +00:00
|
|
|
PLATFORM=linux/arm64,linux/amd64
|
2022-10-11 18:12:59 +00:00
|
|
|
#VERBOSITY=info
|
|
|
|
VERBOSITY=debug
|
2022-01-01 20:30:32 +00:00
|
|
|
|
|
|
|
## build
|
|
|
|
|
|
|
|
imageHaproxy:
|
2023-07-03 23:43:22 +00:00
|
|
|
docker manifest rm $(REGISTRY_IP):5000/haproxy-k8s || true
|
|
|
|
docker-multi-arch-builder build -n haproxy-k8s --platforms $(PLATFORM) -v $(VERBOSITY)
|
2022-01-01 20:30:32 +00:00
|
|
|
|
|
|
|
## management
|
|
|
|
|
|
|
|
status:
|
|
|
|
@curl -s $(REGISTRY_IP):5000/v2/_catalog | jq
|