Add Debian package build script
This commit is contained in:
parent
a303c368b8
commit
e6792fc8e9
8 changed files with 139 additions and 4 deletions
6
Makefile
6
Makefile
|
|
@ -16,7 +16,7 @@
|
|||
.PHONY: dist install docker binaries
|
||||
|
||||
SHELL := bash
|
||||
DOCKER_PLATFORM ?= linux/amd64
|
||||
DOCKER_PLATFORM ?= linux/amd64 # linux/arm64 linux/arm/v7
|
||||
|
||||
dist:
|
||||
cd opentts-abc && python3 setup.py sdist
|
||||
|
|
@ -34,7 +34,9 @@ docker:
|
|||
docker buildx build . -f Dockerfile --platform $(DOCKER_PLATFORM) --tag mycroftai/mimic3 --load
|
||||
|
||||
docker-gpu:
|
||||
docker buildx build . -f Dockerfile.gpu --tag mycroftai/mimic3:gpu --load
|
||||
docker buildx build . -f Dockerfile.gpu --tag 'mycroftai/mimic3:gpu' --load
|
||||
|
||||
binaries:
|
||||
docker buildx build . -f Dockerfile.binary --platform $(DOCKER_PLATFORM) --output type=local,dest=dist/$(DOCKER_PLATFORM)
|
||||
|
||||
debian:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue