Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dockerfile build not working #163

Open
alexander-belikov opened this issue Jun 27, 2024 · 7 comments
Open

Dockerfile build not working #163

alexander-belikov opened this issue Jun 27, 2024 · 7 comments

Comments

@alexander-belikov
Copy link

Base image openjdk:8u275-jdk is not compatible with the following build

I am getting.

#31 12.16 * What went wrong:
#31 12.16 Execution failed for task ':compileJava'.
#31 12.16 > invalid source release: 11
@ericjeangirard
Copy link

ericjeangirard commented Nov 13, 2024

Hi @alexander-belikov
I had the same issue. After analysis, I use the openjdk:11 image and the following versions

  • grobid df28769b238a2276c850d91e56d3c8e5d43a12d9
  • grobid-ner cd02a2ab0696d8f0fded5c489f5a2dc1ff7d42c2
  • entity-fishing 48ec918
    that gives a working environment. I'm not sure this is the ideal combination of versions but at least it should work.
    Maybe @lfoppiano can comment, I've seen a PR waiting for merge with respect to the new grobid version.

@kermitt2
Copy link
Owner

Hello ! Sorry I forgot to update the Dockerfile after updating the repo with the latest versions of Grobid and grobid-ner.
I just committed a new version which is working for me.
I will also update the DockerHub image.

@ericjeangirard
Copy link

The models download however remain somehow implicit, but this is not related to this issue ;-)
Thanks @kermitt2

@alexander-belikov
Copy link
Author

thank you @kermitt2 ! it will be great to see it on DockerHub

@kermitt2
Copy link
Owner

it will be great to see it on DockerHub

https://hub.docker.com/layers/grobid/entity-fishing/0.0.7-SNAPSHOT/images/sha256-4abc198b4bbd73965e438432dec3870807f60f1b029151d014bda5fdf4d4651b

@kermitt2
Copy link
Owner

The models download however remain somehow implicit, but this is not related to this issue ;-)

@ericjeangirard Not sure I understand what you mean, grobid and grobid-ner models are packaged with the release versions, so we reference releases in the docker file.

@ericjeangirard
Copy link

Sorry, I was not clear. I was referring to the knowledge base download
from
https://science-miner.s3.amazonaws.com/entity-fishing/0.0.6/db-kb.zip (8.7 GB) (minimum requirement)
https://science-miner.s3.amazonaws.com/entity-fishing/0.0.6/db-en.zip (7.0 GB) (minimum requirement)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants