Update Makefile

This commit is contained in:
R3ABM Artem 2025-03-23 14:16:49 +02:00
parent 3a1af0bce0
commit 4e0426fb51

View file

@ -80,6 +80,10 @@ else
dpkg-buildpackage -b -tc
endif
docker-image: debian-package
DISTRIBUTION=$(shell echo ${ARCHITECTURE} | sed s/aarch64/arm64/ | sed s/x86_64/amd64/)
docker buildx build -t tellusagent:$(VERSION) --platform linux/$(DISTRIBUTION) -o type=tar,dest=- . | gzip > build/tellusagent_$(VERSION)-$(DISTRIBUTION).tar.gz
macos-archive: build
zip ../TellusAgent-macOS.zip tellusagent tellusagent.sh tellusagent.conf tellusagent.plist