-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
31 lines (23 loc) · 1.43 KB
/
Dockerfile
File metadata and controls
31 lines (23 loc) · 1.43 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
FROM aksw/fuseki-vanilla:6.1.0
ARG FUSEKI_BUILTIN_PLUGINS=/app/fuseki/builtin-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.0/jena-exectracker-fuseki-plugin-0.7.0.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"
# Copy plugins CLI with executable permission
COPY --chmod=755 plugins /usr/local/bin/
# Set volume mount point
VOLUME /app/fuseki/run
# Use base image's entrypoint (plugins CLI is available at /usr/local/bin/plugins)
ENTRYPOINT ["/app/fuseki/fuseki-server"]
CMD ["--config=/app/fuseki/run/config.ttl"]