-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
24 lines (18 loc) · 1006 Bytes
/
Dockerfile
File metadata and controls
24 lines (18 loc) · 1006 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
FROM aksw/fuseki-vanilla:6.0.0
# 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 /app/fuseki/plugins /app/fuseki/run/plugins /usr/local/bin
# Download pre-bundled plugins (exectracker, graphql4sparql)
RUN curl -L -o /app/fuseki/plugins/jena-exectracker-0.7.0.jar \
"https://github.com/Scaseco/jena-exectracker/releases/download/v0.7.0/jena-exectracker-fuseki-plugin-0.7.0.jar" && \
curl -L -o /app/fuseki/plugins/graphql4sparql-0.7.0.jar \
"https://github.com/Scaseco/graphql4sparql/releases/download/v0.7.0/graphql4sparql-fuseki-plugin-0.7.0.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"]