keeganwitt / docker-gradle

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

Missing arm image gradle:8.7.0-jdk17-alpine #286

Closed bob-tee closed 5 months ago

bob-tee commented 5 months ago

I have a build file with line: FROM gradle:8.7.0-jdk17-alpine

I get an error saying:

ERROR: failed to solve: gradle:8.7.0-jdk17-alpine: failed to resolve source metadata for docker.io/library/gradle:8.7.0-jdk17-alpine: no match for platform in manifest: not found

I'm running on an M1 MacBook. It appears the arm version of 8.7.0-jdk17-alpine doesn't exist. I can't see it listed on this page: https://hub.docker.com/r/arm64v8/gradle/

I do see 8.7.0-jdk21-alpine but we aren't targeting Java 21 just yet.

As a workaround I am using FROM --platform=linux/amd64 gradle:8.7.0-jdk17-alpine

keeganwitt commented 5 months ago

That's correct. I didn't have that image because the upstream Java 17 Alpine image doesn't exist.

https://hub.docker.com/r/arm64v8/eclipse-temurin/tags?page=&page_size=&ordering=&name=17-