decentralized-identity / universal-resolver

Universal Resolver implementation and drivers.
https://uniresolver.io/
Apache License 2.0
529 stars 233 forks source link

Add support for linux/arm64 architecture to build on Mac #379

Open jakubkoci opened 10 months ago

jakubkoci commented 10 months ago

I would like to run universal-resolver on my Mac machine, docker-compose returning:

no matching manifest for linux/arm64/v8 in the manifest list entries

I assume it's because there are no docker images build for linux/arm64. Is there any plan to do so?

peacekeeper commented 10 months ago

Hello @jakubkoci thanks for raising this issue..! I admit I have no experience with running Docker on a Mac.

Would you perhaps be able to contribute a Pull Request to add support for Mac?

BernhardFuchs commented 10 months ago

I think the problem here is that we at DIF/Danubetech don't control all the drivers in the docker-compose file.
@jakubkoci feel free to create a Pull Request for the main application and drivers here on DIF. We are happy to try and merge them.

podefr commented 10 months ago

I was able to run this docker compose on a silicon mac by explicitly setting the platform:

DOCKER_DEFAULT_PLATFORM=linux/x86_64/v8 docker compose up

I'm able to run most containers in the docker-compose but haven't tested the setup yet, so not sure if it fully works as expected