smartgic / docker-mycroft

Mycroft AI Voice Assistant Docker images and docker-compose.yml files for x86_64, arm7vl and aarch64 CPU architectures.
https://hub.docker.com/u/smartgic
Apache License 2.0
41 stars 8 forks source link

custom device "/dev/gpiomem": no such file or directory #8

Closed bryanpedini closed 3 years ago

bryanpedini commented 3 years ago

It seems like docker-compose.yml is built more towards Raspberry Pis, but the /dev/gpiomem kernel device does not exist in amd64 Linux computers.

Since there is the ability to specify the Docker-Compose filename, can we create a file like rpi-compose.yml and remove the /dev/gpiomem device in the original docker-compose.yml? Removing (or commenting) docker-compose.yml#L108 seems to make it work just fine on Docker under Ubuntu 20.04 LTS.

Thanks in advance!

goldyfruit commented 3 years ago

@bryanpedini thanks for the feedback, indeed the focus has been put on Raspberry Pi but you are totally right.

bryanpedini commented 3 years ago

Do you want me to take a look and possibly create a PR?

goldyfruit commented 3 years ago

Do you want me to take a look and possibly create a PR?

It would be great 😜

bryanpedini commented 3 years ago

@goldyfruit sorry for the ping. I've opened the PR, could you take a look? Thanks.