I attempted this a while back.

https://github.com/kingmanzhang/jena-docker-arm-compatible

Currently it is using Java 11 but I think it should work to update to
Java17. You also need to update Jena version. This is the Dockerfile.

https://github.com/kingmanzhang/jena-docker-arm-compatible/blob/master/jena-fuseki/Dockerfile

Hope it helps.




On Thu, May 30, 2024 at 8:44 AM Pietro Liuzzo <pietro.liu...@gmail.com>
wrote:

> Dear all,
>
> I am not able to find a base image for java 17 which would work on MAC M1
> for the Docker-compose file installing Apache Jena Fuseki (from here <
> https://repo1.maven.org/maven2/org/apache/jena/jena-fuseki-docker/5.0.0/>).
> Apparently eclipse-temurin:17-alpine does not support M1. I have tried
> several of the variants of openjdk 17 images which I could find, but the
> JAVA_HOME then cannot be found and / or objcopy cannot be found.
>
> Did anyone succeed in adapting the Dockerfile to work on Mac with M1/M2 ?
>
> Additionally, I would like to ask if I can point from my configurations in
> Docker-compose to an existing database location accessed by multiple
> instances of Apache Jena Fuseki running on different machines. The location
> of the db is on a shared mount.
>
> Thanks a lot!
> All best
> Pietro

Reply via email to