Docker image that will replace local installation. #1721
Replies: 8 comments 3 replies
-
Try taking the jena-docker Dockerfile and scripts, and changing it to use jena-fuseki-fulljar-4.7.0.jar. A PR with a tested |
Beta Was this translation helpful? Give feedback.
-
@afs thanks for the swift answer. I am experimenting with https://github.com/WolfgangFahl/jena-docker that started with a copy of the original files and uses github actions to try things out. |
Beta Was this translation helpful? Give feedback.
-
docker run -i --rm -p "3030:3030" --name GndServer -t fuseki --mem /ds
[2023-01-21 15:39:20] ERROR Server :: Can't find resourceBase (tried webapp, target/webapp, /fuseki/./webapp and /fuseki/./target/webapp)
[2023-01-21 15:39:20] ERROR Server :: Failed to start` |
Beta Was this translation helpful? Give feedback.
-
I started from https://repo1.maven.org/maven2/org/apache/jena/jena-fuseki-docker/4.7.0/ and am strugggling with the minimal approach of the Dockerfile. There is not even a jar tool available to inspect things in that image. I don't think it is necessary to be so scarce with resources these days - developer and debugging time it mostly much more precious. |
Beta Was this translation helpful? Give feedback.
-
If you want all the items in the downloadable Fuseki packaging, then pull in the apache-jena-fuseki zip and work the that. |
Beta Was this translation helpful? Give feedback.
-
For the time being i decide to not go the docker route yet. I spent too much time on debugging and getting frustrated today and have a deadline next week. I might get back to this in a few weeks. |
Beta Was this translation helpful? Give feedback.
-
I have installed java 11 and my old script needed only minor changes to work. |
Beta Was this translation helpful? Give feedback.
-
Can’t you use tdbloader on host and then start the Docker container with a
mounted data folder?
BTW we have Fuseki image but it’s just using the default Dockerfile.
https://github.com/AtomGraph/fuseki-docker
…On Sat, 21 Jan 2023 at 18.30, Wolfgang Fahl ***@***.***> wrote:
I have installed java 11 and my old script needed only minor changes to
work.
—
Reply to this email directly, view it on GitHub
<#1721 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAGPM5TBI64N72NIE56IXRTWTQMM3ANCNFSM6AAAAAAUCNK3G4>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I have been using the script below quite succesfully in the past years to get a command line setup that will install Jena tdbloader, fuseki, download a dataset and get everything working in one run.
Now i have a new server which needs to run Java 8 for legacy reasons and i don't want to fiddle with newer Java versions see
https://wiki.bitplan.com/index.php/Java8
Instead i'd love to move to a docker setup and happily found
https://jena.apache.org/documentation/fuseki2/fuseki-docker.html. After trying it out i was all suprised that it will only install fuseki with no UI and no tdbloader.
https://stackoverflow.com/questions/66320295/not-able-to-create-or-access-datasets-in-jena-fuseki-docker-container pointed out part of the problem.
The images at https://hub.docker.com/r/stain/jena-fuseki seem to be no good alternative since https://github.com/stain/jena-docker/issues shows that the tdbloader problem is also not solved there.
I'd love to see a proper docker compose solution that will bring up an environment as outlined in the script below. Should i start a new project for this or is there a project out there that this could be integrated with?
Beta Was this translation helpful? Give feedback.
All reactions