BalenaOS OpenJDK image for Raspberry Pi

In my Dockerfile.template I have the following line:

FROM balenalib/%%BALENA_MACHINE_NAME%%-openjdk:latest-build

Returns the error:

manifest for balenalib/raspberry-pi-openjdk:latest-build not found

This is for a Raspberry Pi Zero W which near as I can tell exists:

What am I missing?

Hi and welcome to our forums!

Checking DockerHub it looks like not all of the images are being published, in particular the one you want is not there:

I’m not sure the reason though, I’ll contact the team that maintains the base images to see if they can figure out why.

Also, nitpicking, but the correct image that is (trying to) being pulled is this one as you are using %%BALENA_MACHINE_NAME%% which resolves to raspberry-pi


I’ve checked our build servers and restarted the build for raspberry-pi-openjdk so the balenalib/raspberry-pi-openjdk:latest-build image should be available now. Since the recent openjdk versions only support ARMv7+ (you will see this logs when try to install recent versions on armv6 devices: Server VM is only supported on ARMv7+ VFP) so the openjdk version here is 7.