https://github.com/dasch-swiss/docker-apache-jena-fuseki
Image containing Apache Jena Fuseki
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (13.6%) to scientific vocabulary
Repository
Image containing Apache Jena Fuseki
Basic Info
- Host: GitHub
- Owner: dasch-swiss
- License: apache-2.0
- Language: Shell
- Default Branch: main
- Size: 85 KB
Statistics
- Stars: 0
- Watchers: 5
- Forks: 1
- Open Issues: 0
- Releases: 39
Metadata Files
README.md
Docker Image for Apache Jena Fuseki
This repository hosts a Docker recipe for distributing Apache Jena Fuseki 2 server with SPARQL endpoint and web interface.
The Docker image is currently available from the Docker Hub as:
dasch-swiss/apache-jena-fuseki
Note that although these Docker images are based on the official Apache Jena Fuseki releases and do not alter them in any way, they do not constitute official releases from the Apache Software Foundation.
As of version 5.5.0-1, the database comes with a pre-configured TDB2 dataset called dsp-repo and a Lucene text index. For more details, see the dsp-repo.ttl dataset configuration file.
Dockerfile overview
The Dockerfile uses the official openjdk:11-jre-slim-buster base image, which is based on the debian:buster-slim image; this clocks in at about 69 MB.
The ENV variable FUSEKIVERSION determines which version of Fuseki is downloaded. Updating the version also requires updating the FUSEKISHA512 variable, which values should match the official Jena download .tar.gz.sha512 hashes.
The ASFMIRROR uses http://www.apache.org/dyn/mirrors/mirrors.cgi that redirect to a local mirror, with a fallback to the ASFARCHIVE http://archive.apache.org/dist/ for older versions. Note that due to subsequent sha512 checking these accessed with http rather than https.
To minimize layer size, there's a single RUN with curl, sha512sum, tar zxf and mv - thus the temporary files during download and extraction are not part of the final image.
Some files from the Apache Jena distributions are stripped, e.g., fuseki.war file.
The Fuseki image includes some helper scripts to do tdb loading using fuseki-server.jar. In addition Fuseki has a docker-entrypoint.sh that populates shiro.ini with the password provided as -e ADMIN_PASSWORD to Docker, or with a new randomly generated password that is printed the first time. The dsp-repo.ttl dataset configuration is used to set up the default dsp-repo dataset through the $FUSEKI_BASE/configuration/ directory mechanism.
There is also a REBUILD_INDEX_OF_DATASET environment variable that makes the container rebuild Fuseki's built-in Lucene index before starting the database normally. To enable this, the value of this variable must be set to the name of the dataset whose index should be rebuilt. Alternatively the REBUILD_INDEX_MARKER_FILE variable can be set to the path of a marker file inside the container containing the aforementioned dataset name. The marker file is deleted after a successful rebuild. The index data is assumed to be located at $INDEX_BASE/
Releasing
Releasing should be done through the Github release process, which will kick-off a Github-CI job that will release the Docker Image under the release tag.
Owner
- Name: DaSCH - Swiss National Data and Service Center for the Humanities
- Login: dasch-swiss
- Kind: organization
- Email: info@dasch.swiss
- Location: Switzerland
- Website: https://dasch.swiss
- Twitter: DaSCHSwiss
- Repositories: 35
- Profile: https://github.com/dasch-swiss
Development repositories of the DaSCH.
GitHub Events
Total
- Release event: 3
- Delete event: 2
- Issue comment event: 3
- Push event: 5
- Pull request review event: 3
- Pull request event: 8
- Create event: 7
Last Year
- Release event: 3
- Delete event: 2
- Issue comment event: 3
- Push event: 5
- Pull request review event: 3
- Pull request event: 8
- Create event: 7
Dependencies
- actions/checkout v2 composite
- docker/build-push-action v2 composite
- docker/login-action v1 composite
- docker/setup-buildx-action v1 composite
- docker/setup-qemu-action v1 composite
- eclipse-temurin 11-jre-focal build