From 144b3b64507c4a6603368f81ed88e49affeea1ad Mon Sep 17 00:00:00 2001 From: "Bruno P. Kinoshita" Date: Sat, 2 May 2020 14:35:34 +1200 Subject: [PATCH 1/2] Add underscore before dataset number to shell includes the variable when loading data --- jena-fuseki/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jena-fuseki/README.md b/jena-fuseki/README.md index c8cd9c2..311bb62 100644 --- a/jena-fuseki/README.md +++ b/jena-fuseki/README.md @@ -117,7 +117,7 @@ volume `fuseki-data` as recommended above, do: You can create empty datasets at startup with: - docker run -d --name fuseki -p 3030:3030 -e FUSEKI_DATASET1=mydataset -e FUSEKI_DATASET_2=otherdataset stain/jena-fuseki + docker run -d --name fuseki -p 3030:3030 -e FUSEKI_DATASET_1=mydataset -e FUSEKI_DATASET_2=otherdataset stain/jena-fuseki This will create 2 empty datasets: mydataset and otherdataset. From 05cb60f4cd4c969270efa31578a20d78a6c45736 Mon Sep 17 00:00:00 2001 From: "Bruno P. Kinoshita" Date: Sat, 2 May 2020 14:37:12 +1200 Subject: [PATCH 2/2] Fix markdown syntax, moving backticks to inside the squared backets --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f33dab8..a06e0bc 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ docker build -t jena-fuseki jena-fuseki ## Dockerfile overview -The `Dockerfile`s for both images use the official [openjdk:11-jre-slim-buster](https://hub.docker.com/r/_/openjdk/) base image, which is [based on](https://github.com/docker-library/openjdk/blob/master/11/jre/slim/Dockerfile) the `[debian](https://hub.docker.com/_/debian/):buster-slim` image; this clocks in at about [69 MB](https://microbadger.com/images/openjdk:11-jre-slim-buster) +The `Dockerfile`s for both images use the official [openjdk:11-jre-slim-buster](https://hub.docker.com/r/_/openjdk/) base image, which is [based on](https://github.com/docker-library/openjdk/blob/master/11/jre/slim/Dockerfile) the [`debian`](https://hub.docker.com/_/debian/):buster-slim image; this clocks in at about [69 MB](https://microbadger.com/images/openjdk:11-jre-slim-buster) 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. @@ -37,5 +37,5 @@ To minimize layer size, there's a single `RUN` with `curl`, `sha512sum`, `tar zx Some files from the Apache Jena distributions are stripped, e.g. javadocs and the `fuseki.war` file. The Fuseki image includes some [helper scripts](jena-fuseki/load.sh) to do [tdb loading](https://jena.apache.org/documentation/tdb/commands.html) using `fuseki-server.jar`. -In addition Fuseki has a `[docker-entrypoint.sh](https://github.com/stain/jena-docker/blob/master/jena-fuseki/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. +In addition Fuseki has a [`docker-entrypoint.sh`](https://github.com/stain/jena-docker/blob/master/jena-fuseki/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.