Skip to content

josemarcosrf/pyvosk-rpi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vosk Server Docker for RPI

This repo is intended to help in building vosk-api docker images for Raspberry Pi by using docker buildx in a cross-compile style. i.e.: Build in a x86_64 linux machine for armv7.


Structure

This repo contains 3 docker images:

How To

Building the docker images

⚠️ Some python images might have trouble building due to an old libseccomp2 in some platforms. see: this FAQ

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 04EE7237B7D453EC 648ACFD622F3D138
echo "deb http://deb.debian.org/debian buster-backports main" | \
    sudo tee -a /etc/apt/sources.list.d/buster-backports.list
sudo apt update
sudo apt install -t buster-backports libseccomp2

Regardless of the image we want to build, the first time, we need to initialize the multi-platform builder:

./scripts/init_multi-builder.sh

Once that's done, build with:

# To build the vosk-api microphone test example for armv7
make build-test-docker
# To build the vosk-server for armv7
make build-vosk-server-docker

About

Vosk Docker Images for Raspberry Pi

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published