-
Notifications
You must be signed in to change notification settings - Fork 665
Description
Version
Latest
Feature
Hi @afs, currently there are 256 images for fuseki on dockerhub: https://hub.docker.com/search?q=fuseki
All of them are outdated, or adding some unwanted quirks on top of Fuseki. Which shows a real need and demand for an officially published fuseki docker image.
Fortunately Fuseki already has an official docker image. But it is not published automatically with each release
Instead, right now in 2025, a user would need to:
- Go to the documentation page https://jena.apache.org/documentation/fuseki2/fuseki-docker.html
- Attentively read the documentation to find the link to the download server
- Navigate the folders to find the zip file containing the Dockerfile https://repo1.maven.org/maven2/org/apache/jena/jena-fuseki-docker/
- Download this zip file
- Unzip the zip file
- Go into this folder with the terminal to run
docker build
Which is a bit complex when it could be really easily reduced to:
docker run -it -p 3030:3030 ghcr.io/apache/fuseki:5.4.0
Also when you want to use fuseki inside a workflow for testing purpose, you don't want to have to write a 20 lines bash script just to download and build the docker image
All that is needed is to add a github actions workflow to build and publish the docker image on every new release. This work needs to be done once, and will be fully automatic after that. Also it will enable to test the docker build and make sure it does not break in future releases.
I would recommend to use ghcr (GitHub Container Registry) over dockerhub because:
- it keeps everything in one place instead of requiring also a dockerhub account. You can just use the Github token available in the github action workflow
- for now ghcr.io does not have rate limits (dockerhub has limits which makes it problematic on some clusters)
But that is obviously up to you
Writing a workflow to build and publish a docker image is quite easy nowadays, but if you wish I can help you with that
Are you interested in contributing a solution yourself?
Yes