So apparently maven and tomcat have arm64 builds.
Adding --platform=linux/arm64/v8 to Dockerfile.dependencies like this
FROM --platform=linux/arm64/v8 maven:3-jdk-11 as build
I locally built this dependency image and used that as a base for the build
in Dockerfile.test and Dockerfile.cli, like
Hi, and thanks for the quick reply!
The versioning seems to be super confusing, but I think that Server VM 18.9
is the server VM of java 11.
Digging through some answers it seems that the base openjdk image is
incompatible with ARM-architechture, not 100% sure though, so I will keep
digging.
Hi Anis,
It appears, from that stacktrace, that you might somehow be using OpenJDK
v18? The DSpace 7 backend will only currently build on OpenJDK v11
(though we will have v17 support coming soon in 7.2 via this
PR https://github.com/DSpace/DSpace/pull/8104).
I don't have a Mac to test