Update Makefile
This commit is contained in:
parent
3a1af0bce0
commit
4e0426fb51
1 changed files with 4 additions and 0 deletions
4
Makefile
4
Makefile
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue