Skip to content

Docker image for Apache Jena Fuseki 4.7.0

License

Notifications You must be signed in to change notification settings

leroykim/jena-docker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dockerfile update for Jena Fuseki 4.7.0

This is a Dockerfile update for Jena Fuseki 4.7.0. There are changes in jena-fuseki/Dockerfile only.

Specifically from:

ENV FUSEKI_SHA512 21850b9d106d40962cb8358cf5731509ed9f38be7f47a0fc7e2fa22247d89faf7b4ef3ecb58cac590b7592b3b8340b80214ab7ca67b9d1231acb68df62b8bd3d
ENV FUSEKI_VERSION 4.4.0

to:

ENV FUSEKI_SHA512 9646343a23c2563357207f559cb7437aa91b52d02b87e70d77b746b609e93ed0ad9dce06e072f864d53422946f24aa8ee60d9c594c1f82e8f2ab226eba56e474
ENV FUSEKI_VERSION 4.7.0

For the convenience, I uploaded built image to my public Docker Hub repository:

docker pull leroykim/jena-fuseki-4.7.0

Docker files for Jena (original readme)

Build

This repository hosts Docker recipes for distributing Apache Jena.

Two Docker images are available:

  • jena - riot command line and friends, for use on the command line
  • fuseki - the Fuseki server with SPARQL endpoint and web interface

These are currently available from the Docker Hub as:

Note that although these Docker images are based on the official Apache Jena releases and do not alter them in any way, they do not constitute official releases from Apache Software Foundation.

Building

docker build -t jena jena
docker build -t jena-fuseki jena-fuseki

Dockerfile overview

The Dockerfiles for both images use 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 variables like JENA_VERSION and FUSEKI_VERSION determines which version of Jena and Fuseki are downloaded. Updating the version also requires updating the JENA_SHA512 and FUSEKI_SHA512 variables, which values should match the official Jena download .tar.gz.sha512 hashes, as approved in their release [VOTE] emails.

The ASF_MIRROR use http://www.apache.org/dyn/mirrors/mirrors.cgi that redirect to a local mirror, with a fallback to the ASF_ARCHIVE 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. javadocs and the 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.

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 53.2%
  • Shell 46.8%