keeganwitt / docker-gradle

Docker images with Gradle
https://hub.docker.com/_/gradle/
Apache License 2.0
143 stars 73 forks source link

jdk17-graal and jdk21-graal are not present on the registry for arm64v8 architecture #274

Closed cyr62110 closed 6 months ago

cyr62110 commented 6 months ago

Hi,

I was experimenting on getting GraalVM working on arm architectures. I got everything working with amd64 architecture but when I tried to pull the arm64v8:

Error response from daemon: manifest for arm64v8/gradle:jdk21-graal not found: manifest unknown: manifest unknown

Looking into the Jenkins logs, I found the issue to be related to the hash:

Downloading GraalVM
2024-02-16 08:34:37 URL:https://objects.githubusercontent.com/github-production-release-asset-2e65be/222889977/8f81150d-1022-42c5-8fad-c9480d581254?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAVCODYLSA53PQK4ZA%2F20240216%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240216T083435Z&X-Amz-Expires=300&X-Amz-Signature=ec4ccd97de3045be6341b9eba7c39b5e34be6d336eb49aca9e3b052ea387760e&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=222889977&response-content-disposition=attachment%3B%20filename%3Dgraalvm-community-jdk-17.0.9_linux-aarch64_bin.tar.gz&response-content-type=application%2Foctet-stream [281485468/281485468] -> "graalvm.tar.gz" [1]
Checking GraalVM download hash
graalvm.tar.gz: FAILED
sha256sum: WARNING: 1 computed checksum did NOT match

Best,

keeganwitt commented 6 months ago

Thanks for the report! I'm not seeing this locally. Let me see if the Docker Library folks have any insight.

keeganwitt commented 6 months ago

Yosifkit pointed out I didn't make the sha architecture specific. Oops! Working on a fix.

keeganwitt commented 6 months ago

Official images PR: https://github.com/docker-library/official-images/pull/16365

cyr62110 commented 6 months ago

Everything is working now. Thanks to you and the people maintaining the official images.