Repository navigation
Expand file tree
/
Copy pathDockerfile
More file actions
39 lines (29 loc) · 1.75 KB
/
Copy pathDockerfile
File metadata and controls
39 lines (29 loc) · 1.75 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
FROM aksw/fuseki-vanilla:6.2.0
# FUSEKI_HOME build arg is assumed to match that of the base image!
ARG FUSEKI_HOME=/fuseki
ARG FUSEKI_BUILTIN_PLUGINS=${FUSEKI_HOME}/builtin-plugins
ENV FUSEKI_BUILTIN_PLUGINS=${FUSEKI_BUILTIN_PLUGINS}
ENV FUSEKI_USER_PLUGINS=${FUSEKI_BASE}/plugins
# Install curl for downloading plugins
RUN apt-get update && apt-get install -y --no-install-recommends curl \
&& rm -rf /var/lib/apt/lists/*
# Create plugin directories
RUN mkdir -p ${FUSEKI_BUILTIN_PLUGINS} /usr/local/bin
# Download pre-bundled plugins (exectracker, graphql4sparql, jenax-arq-plugins, jenax-serviceenhancer)
RUN curl -LJO --create-dirs --output-dir ${FUSEKI_BUILTIN_PLUGINS}/ \
"https://github.com/Scaseco/jena-exectracker/releases/download/v0.7.2/jena-exectracker-fuseki-plugin-0.7.2.jar" && \
curl -LJO --create-dirs --output-dir ${FUSEKI_BUILTIN_PLUGINS}/ \
"https://github.com/Scaseco/graphql4sparql/releases/download/v0.7.0/graphql4sparql-fuseki-plugin-0.7.0.jar" && \
curl -LJO --create-dirs --output-dir ${FUSEKI_BUILTIN_PLUGINS}/ \
"https://github.com/Scaseco/jenax/releases/download/v6.1.0-1/jenax-arq-plugins-bundle-6.1.0-1.jar" && \
curl -LJO --create-dirs --output-dir ${FUSEKI_BUILTIN_PLUGINS}/ \
"https://github.com/Scaseco/jenax/releases/download/v6.1.0-1/jenax-serviceenhancer-preview-plugin-6.1.0-1.jar" && \
curl -LJO --create-dirs --output-dir ${FUSEKI_BUILTIN_PLUGINS}/ \
"https://github.com/Scaseco/jena-proxy/releases/download/v0.7.1/jena-proxy-fuseki-plugin-0.7.1.jar"
# Copy plugins CLI with executable permission.
# Plugins CLI is thus available at /usr/local/bin/plugins
COPY --chmod=755 plugins /usr/local/bin/
# Inherited from base:
# VOLUME /fuseki/run
# Inherited from base:
# ENTRYPOINT ["/fuseki/entrypoint.sh]