[dspace-tech] Re: DSpace 7 docker images with M1 Mac

2022-01-21 Thread Anis
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

[dspace-tech] Re: DSpace 7 docker images with M1 Mac

2022-01-21 Thread Anis
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.

[dspace-tech] Re: DSpace 7 docker images with M1 Mac

2022-01-21 Thread 'Tim Donohue' via DSpace Technical Support
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