docker-filebeat/Makefile

22 lines
424 B
Makefile

.PHONY: build
REGISTRY_IP=container.localdomain
# linux/arm/v7
# linux/arm/v6
# linux/arm64
# linux/amd64
PLATFORM=linux/arm/v7,linux/arm/v6,linux/amd64
#VERBOSITY=info
VERBOSITY=debug
## build
build:
docker manifest rm $(REGISTRY_IP):5000/filebeat:latest || true
docker-multi-arch-builder build -n filebeat --platforms $(PLATFORM) -v $(VERBOSITY)
## management
status:
@curl -s $(REGISTRY_IP):5000/v2/_catalog | jq