pySatellite / restdb

0 stars 19 forks source link

docker - no match for platform in manifest IN MAC #3

Open pySatellite opened 7 months ago

pySatellite commented 7 months ago
$ ./gradlew clean bootJar

BUILD SUCCESSFUL in 1s
5 actionable tasks: 5 executed
$ docker build -f docker/Dockerfile -t restdb:0.2.0 .
[+] Building 2.5s (4/4) FINISHED
 => [internal] load build definition from Dockerfile                            0.0s
 => => transferring dockerfile: 165B                                            0.0s
 => [internal] load .dockerignore                                               0.0s
 => => transferring context: 2B                                                 0.0s
 => ERROR [internal] load metadata for docker.io/library/eclipse-temurin:17-jd  2.5s
 => [auth] library/eclipse-temurin:pull token for registry-1.docker.io          0.0s
------
 > [internal] load metadata for docker.io/library/eclipse-temurin:17-jdk-alpine:
------
failed to solve with frontend dockerfile.v0: failed to create LLB definition: no match for platform in manifest sha256:854b05154ed3e25ca817137463c9d84b425350d51d958a2b264094622914731f: not found
pySatellite commented 7 months ago

$ docker build --platform linux/amd64 -f docker/Dockerfile -t restdb:0.2.0 .