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

ERROR [linux/arm/v7 internal] load metadata for docker.io/adoptopenjdk/openjdk13:debianslim-jre #526

Open
frakman1 opened this issue Mar 16, 2021 · 5 comments

Comments

@frakman1
Copy link

frakman1 commented Mar 16, 2021

Sorry if is not the right place for this issue or not, but my attempt to use docker buildx option to build for a RaspberryPi using the linux/arm/v7 architecture resulted in an error that brought me to this project via the dockerhub page. Dockerfile

$ docker buildx build -t tsunami-pi . --platform linux/arm/v7,linux/arm64/v8,linux/amd64
WARN[0000] No output specified for docker-container driver. Build result will only remain in the build cache. To push result image into registry use --push or to load image into docker use --load
[+] Building 16.8s (9/9) FINISHED
 => [internal] booting buildkit                                                                                                                                                       12.6s
 => => pulling image moby/buildkit:buildx-stable-1                                                                                                                                    11.7s
 => => creating container buildx_buildkit_multarchbuilder0                                                                                                                             0.9s
 => [internal] load build definition from Dockerfile                                                                                                                                   0.1s
 => => transferring dockerfile: 1.35kB                                                                                                                                                 0.0s
 => [internal] load .dockerignore                                                                                                                                                      0.1s
 => => transferring context: 245B                                                                                                                                                      0.0s
 => CANCELED [linux/amd64 internal] load metadata for docker.io/adoptopenjdk/openjdk13:debianslim-jre                                                                                  3.9s
 => CANCELED [linux/amd64 internal] load metadata for docker.io/adoptopenjdk/openjdk13:debianslim                                                                                      3.9s
 => ERROR [linux/arm/v7 internal] load metadata for docker.io/adoptopenjdk/openjdk13:debianslim-jre                                                                                    3.8s
 => CANCELED [linux/arm/v7 internal] load metadata for docker.io/adoptopenjdk/openjdk13:debianslim                                                                                     3.9s
 => CANCELED [linux/arm64 internal] load metadata for docker.io/adoptopenjdk/openjdk13:debianslim-jre                                                                                  3.9s
 => CANCELED [linux/arm64 internal] load metadata for docker.io/adoptopenjdk/openjdk13:debianslim                                                                                      3.9s
------
 > [linux/arm/v7 internal] load metadata for docker.io/adoptopenjdk/openjdk13:debianslim-jre:
------
failed to solve: rpc error: code = Unknown desc = failed to solve with frontend dockerfile.v0: failed to create LLB definition: no match for platform in manifest sha256:a193ed5ea489b5ac33777010d7f12009ef9c0e0fc172181ab0365f07d4086137: not found
@aahlenst
Copy link
Contributor

Please try with 15. 13 is EOL at AdoptOpenJDK.

@frakman1
Copy link
Author

Are you saying to use version 15 for debianslim-jre and version 13 for debianslim? Because if I try changing debianslim to 15, I get the error:

Sending build context to Docker daemon  823.3kB
Step 1/16 : FROM adoptopenjdk/openjdk15:debianslim
debianslim: Pulling from adoptopenjdk/openjdk15
no matching manifest for linux/arm/v7 in the manifest list entries

@aahlenst
Copy link
Contributor

13 is generally end of life at AdoptOpenJDK, so we do not update the images anymore. 15 is the current version but there are indeed no ARM images for it. I don't think that's right. For the moment, only the official images have it: https://hub.docker.com/_/adoptopenjdk.

@aahlenst aahlenst added the bug label Mar 18, 2021
@frakman1
Copy link
Author

frakman1 commented Mar 18, 2021

Is there a openjdk15 that I can use for the Pi/arm? If so, can you point me to a tag I can use please?
What is the difference between debianslim, debian-slim and debianslim-slim? I see armv7l versions of them for the same version (15.0.2_7):
image
image
image

I tried one of them but got a manifest error:

Step 1/16 : FROM adoptopenjdk/openjdk15:armv7l-debian-jdk-15.0.2_7-slim
manifest for adoptopenjdk/openjdk15:armv7l-debian-jdk-15.0.2_7-slim not found: manifest unknown: manifest unknown

@aahlenst
Copy link
Contributor

adoptopenjdk:15-jdk-hotspot has an ARMv7 entry, so has adoptopenjdk:15-jre-hotspot.

Regarding the slims: debianslim should be the slim Debian image, slim is "slim" JDK (some parts were removed that not everybody uses). debianslim-slim would then be the slim Debian with the slim JDK.

@karianna karianna added this to the March 2021 milestone Mar 23, 2021
@aahlenst aahlenst removed their assignment Mar 24, 2021
@karianna karianna modified the milestones: March 2021, April 2021 May 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants