Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for M1 #20

Open
Jurajzovinec opened this issue Aug 27, 2021 · 2 comments
Open

Support for M1 #20

Jurajzovinec opened this issue Aug 27, 2021 · 2 comments

Comments

@Jurajzovinec
Copy link

Hello, trying to spin up the container with commands provided at README.md on macOS with M1 chip.
Here are the results of the actions:

1.) Running . . .

docker run -ti --rm \
  -e ASTERISK_UID=`id -u` \
  -e ASTERISK_GID=`id -g` \
  -v ${PWD}/logs:/var/log/asterisk \
  andrius/asterisk

results in response:

WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
addgroup: gid '20' in use
  1. Running . . .
docker run -ti --rm -e ASTERISK_USER=root andrius/asterisk

results in response:

WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
No ethernet interface found for seeding global EID. You will have to set it manually.
Parsing /etc/asterisk/asterisk.conf
*** buffer overflow detected ***: /usr/bin/qemu-x86_64 terminated

Thanks for your time spent on this issue!
Br,
Juraj

@andrius
Copy link
Owner

andrius commented Feb 21, 2022

Hello,

This is quite interesting issue, not sure if I will add support for M1 and coming M2 soon. Main concern is the OPUS codec in debian and centos repositories, without OPUS, asterisk support will be already limited.

I just refactored this repository a bit, and will replace makefile by the github actions. With buildx it is possible to cross-compile images, so let see.

@fukemy
Copy link

fukemy commented Mar 26, 2024

Hi, does it run success on M1 now? I new with Asterisk

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants