kermitt2 / grobid

A machine learning software for extracting information from scholarly documents
https://grobid.readthedocs.io
Apache License 2.0
3.59k stars 459 forks source link

Docker build for multi-architecture amd/arm #1165

Open lfoppiano opened 2 months ago

lfoppiano commented 2 months ago

Finally I nailed it!

This PR provide a multi-architecture build for amd64/arm64. I've switched to the eclipse-adoptium-17-jdk/jre but, for the moment, I'm using ubuntu 20.04 (focal) instead of ubuntu 22. For now Is limited to the manual build for the CRF only image.

This requires some tests, here here the resulting image.

This PR should help to solve #1089 and #928

coveralls commented 2 months ago

Coverage Status

coverage: 40.754% (-0.01%) from 40.767% when pulling 7ea5f74602f9282e3b3a20682ea20b355dfc13b0 on multi-arch-docker-image into f5010331fff71b0940aed0de12dd34966bf58fe7 on master.