I’m trying to find an image for a raspberry pi 3 which has the “latest possible” jre or jdk (java).
I found on the web that putting into a Dockerfile FROM openjdk:8-jdk-alpine works. As a newbie, as far as I understand openjdk is the provider/cathegory and 8-jdk-alpine is the version I’d like to pull from docker hub. Now this version does not fit my needs because I want an earlier version.
How do I search on docker hub for the list of jdk for a particular arquitecture in this case arm/v7?? Is there a way?
How do I hopefully commandline list all versions with details (namely cpu arquitecture) for a given repo/provider/cathegory?
I already went through that, but given a tag, how do I know the needed arquitecture is supported? or given an arquitecture, how do I know which are the supported tags?
The DockerHub lacks of a search by arch. But there is a special user arm32v7 from the Docker Inc. that publish images for the armv7. There is also other platforms like arm32v6 and arm64v8
arm32v7/eclipse-temurin latest image is arm32v7/eclipse-temurin:19 and it’s based on ubuntu 22.04. It takes 230.49 MB which is a lot.
arm32v7/openjdk which is deprecated
arm32v7/adoptopenjdk which is deprecated in favor of eclipse-temurin
Also as you mentioned the official openjdk has openjdk:8-jdk-alpine compiled for the linux/arm/v7.
It takes 70.67 MB. This should be fine if you are writing your own small service for a small device.
I was able to run java app in a Docker on my Turris Omnia router which is great.