decentralized-identity / universal-resolver

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

How to test on Mac OS M1 #427

Open ilya-korotya opened 5 months ago

ilya-korotya commented 5 months ago

I use a Macbook with an M1 chip. When I wanted to test the integration locally and ran the command:

docker build -f ./uni-resolver-web/docker/Dockerfile . -t universalresolver/uni-resolver-web

I received the following error message:

[+] Building 1.3s (3/3) FINISHED                                                                                                                                                                 docker:desktop-linux
 => [internal] load build definition from Dockerfile                                                                                                                                                             0.0s
 => => transferring dockerfile: 979B                                                                                                                                                                             0.0s
 => ERROR [internal] load metadata for docker.io/library/eclipse-temurin:17-jre-alpine                                                                                                                           1.2s
 => CANCELED [internal] load metadata for docker.io/library/maven:3-eclipse-temurin-17-focal                                                                                                                     1.2s
------
 > [internal] load metadata for docker.io/library/eclipse-temurin:17-jre-alpine:
------
Dockerfile:18
--------------------
  16 |     # build image
  17 |
  18 | >>> FROM eclipse-temurin:17-jre-alpine
  19 |     MAINTAINER Markus Sabadello <markus@danubetech.com>
  20 |
--------------------
ERROR: failed to solve: eclipse-temurin:17-jre-alpine: no match for platform in manifest: not found
peacekeeper commented 5 months ago

Hmm sorry, I don't know.. Not sure if we have anyone else here who has tried this on Macbook..